1752277 Members
4501 Online
108786 Solutions
New Discussion юеВ

shell script

 
SBagheri
Occasional Advisor

shell script

script to check files less than 40 days and send it to other path and then check the logs and send it to other file...

2 REPLIES 2
Laurent Menase
Honored Contributor

Re: shell script

Hi

Probably you should give a small example of what you are trying to do.

 

For the first part looks like a

find /inputdir  -mtime -40 -exec mv {} /newpath \;

 

Dennis Handly
Acclaimed Contributor

Re: shell script (to find files)