HI,
I want a script which creat a zip file folder of files older than 15 days.......
please help me on this...........
HI,
I want a script which creat a zip file folder of files older than 15 days.......
please help me on this...........
Try this..to list out all the files older than 15 days.
try this command
# find . -mtime +15 | xargs tar -cvf file.tar
how to zip all the files in a particular folder.
tar -cvf allmyfiles.tar *