How do I create a ZIP file in the Shell with today's date files? The files are all in the same directory.
How do I create a ZIP file in the Shell with today's date files? The files are all in the same directory.
You can try something like:
find. -ctime -1 -iname "* .txt" -exec zip .zip files {} \;
find has some interesting options for searching for files based on the date of creation, access, and modification. Take a look at his man.