Link to home
Start Free TrialLog in
Avatar of jennyvo22
jennyvo22

asked on

unix move files based on date range

Hi,
  What command should i use to move a large set of files in a directory to another directory based on the last modified date range?

ex: move files with last modified date from 9/01/09 to 10/01/09.

Thanks!
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

try with the find command with the option -mtime n where n is number of days and can be positive or negative value

http://unixhelp.ed.ac.uk/CGI/man-cgi?find
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial