I need to write a shell script that will filter out all files/directroies in a directory that are more than two months old and then copy those files to a new target location
mnparikh
0
Newbie Poster
Recommended Answers
Jump to PostAny reason why you can not use e.g. Python?
I would start reviewing the find command if you are using Unix or related OS. Likely as you have Korn shell.
http://www.softpanorama.org/Tools/Find/selecting_files_by_age.shtml
All 2 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.