| Tip 41 | Timestamp Zip Filenames |
This is one of those tips a handful of people will find useful but is worth sharing nonetheless. Those who use OS X on server computers might find it particularly useful.
The following command will cause any new archives (zip files) you create to automatically have the 24-hour time appended to the filename. For example, creating an archive from the folder Pictures at 2:13 p.m. will result in an archive with the filename Pictures 14.13.27.zip (with the last two digits representing the second count).
To activate this feature, open a Terminal window (open Finder, select the Applications list, and then in the list of applications double-click Terminal within the Utilities folder), and type the following:
| | defaults write ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access