01-12-2009
Thank you Ikon
but how comes the size of /patches = the size of the 2 files
i hope there is a way to get them back
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear People
I have removed some of my files and directories( by using rm and rmdir commands) by mistake. I wish to bring them back. How is it possible?( I am using solaris 2.6)
best regards
Reza Nazarian:( (2 Replies)
Discussion started by: Reza Nazarian
2 Replies
2. Post Here to Contact Site Administrators and Moderators
Hi Experts,
I want to delete the log files which is created 15 days back.
1st I want to view the files and later I want to delete viewed files
I have tried with following command but its not working.
find . -name '*.log' -mtime +15 -exec ls -ltr {} \;
This is showing the list which shows... (2 Replies)
Discussion started by: vidya2006
2 Replies
3. Filesystems, Disks and Memory
Can I back up all the files I work with each day using tar? (2 Replies)
Discussion started by: jo calamine
2 Replies
4. Shell Programming and Scripting
I have filesi in a direcotry that start with different names but have dates in the format 01212006. Along with these files there are also files with different dates. What i want to do is copy all the files that have 01212006 in them to 01072007 and move the old files to different directory.
... (1 Reply)
Discussion started by: dsravan
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to identify the files that are recently modified or with in a specified period (15 Days) in UNIX box. After identifying the files should be transferred to windows machine through FTP. The files should be overwritten in windows if it is already available.
Please help... (1 Reply)
Discussion started by: lathish
1 Replies
6. Shell Programming and Scripting
Hi Guys,
My unix is SunOS. I like to find all the files which are created 1 day back.
i tried the following command
find . -type f -name '*.aud' -mtime +1
This gives me all the files created 48 hours back (2 days) but not one..
Can you let me know where i am going wrong.
Thanks,... (8 Replies)
Discussion started by: mac4rfree
8 Replies
7. Shell Programming and Scripting
I have 3 variables
$file =abc_2011_11_01.txt (current day file)
$back = Yes
$forward = No
I need to search for 3 days back files / 3 days forward files if my current file is not present
logic is,
I need to download the current day file.
If it is missing, i need to look out for... (1 Reply)
Discussion started by: irudayaraj
1 Replies
8. Shell Programming and Scripting
Hi,
I need some help writing a perl script to tar all log file to a directory and then delete the log files. Can some one please help me on this? I m Not very good with perl scripting...
Thanks
KK (4 Replies)
Discussion started by: karthikk0508
4 Replies
LEARN ABOUT REDHAT
diff2patches
diff2patches(1) diff2patches(1)
NAME
diff2patches - Extract non-debian/ patches from .diff.gz files
SYNTAX
diff2patches filename
diff2patches --help|--version
DESCRIPTION
Extracts patches from .diff.gz which apply to files outside the "debian/" directory scope. A patch is created for each modified file.
Each patch is named according to the path of the modified file, with "/" replaced by "___", and an extension of ".patch".
OPTIONS
filename
Extract patches from filename which apply outside the "debian/" directory.
--help
Output help information and exit.
--version
Output version information and exit.
FILES
debian/control
Existence of this file is tested before any patch is extracted.
debian/
debian/patches/
Patches are extracted to one of these directories. "debian/patches/" is preferred, if it exists. If DEB_PATCHES is present in the
environment, it will override this behavior (see "ENVIRONMENT VARIABLES" section below).
ENVIRONMENT VARIABLES
DEB_PATCHES
When defined and points to an existing directory, patches are extracted in that directory and not under "debian/" nor
"debian/patches/".
SEE ALSO
combinediff(1)
AUTHOR
Raphael Geissert <atomo64@gmail.com>
Raphael Geissert <atomo64@gmail.com> diff2patches(1)