Last active
April 15, 2019 17:01
-
-
Save mz0/a1695cb73c648d21185f2dbc3e5ed66e to your computer and use it in GitHub Desktop.
Set archive message file date to the value of the "Date:" field of that message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *; do touch -d "$(grep Date $f | sed "s/^Date: //")" $f; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment