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
Jump to Post
Any 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.
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.