Create ZIP of files based on date, in shell script

Create ZIP of files based on date, in shell script

Asked on August 16, 2019 in Programmer.
Add Comment
1 Answer(s)

zip -r /destination_path/media_date.zip $(find /from_path/media -type f -mtime +2)

Answered on August 16, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.