Skip to content

Instantly share code, notes, and snippets.

@alecvance
Last active May 9, 2021 17:14
Show Gist options
  • Save alecvance/02c56e71c4c2dea9c1f22a88e32e8731 to your computer and use it in GitHub Desktop.
Save alecvance/02c56e71c4c2dea9c1f22a88e32e8731 to your computer and use it in GitHub Desktop.

Revisions

  1. alecvance revised this gist May 9, 2021. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions fix_creation_dates.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,5 @@
    cd "$1"

    pwd

    for f in * ; do
    SetFile -d "$(GetFileInfo -m $f)" "$f"
    done
  2. alecvance created this gist May 9, 2021.
    7 changes: 7 additions & 0 deletions fix_creation_dates.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    cd "$1"

    pwd

    for f in * ; do
    SetFile -d "$(GetFileInfo -m $f)" "$f"
    done