Phác Chí Huấn
New member
How do I move a file from a specific date in Unix?
Answer
How it works
Answer
How it works
- find . – mindepth 1 -maxdepth 1. …
- -mtime -7. This tells find to select only files less than seven days old.
- -exec mv -t /destination/path {} + This tells find to execute a mv command to move those files to /destination/path .