Skip to content

Instantly share code, notes, and snippets.

@jdoconnor
Created September 26, 2014 14:23
Show Gist options
  • Save jdoconnor/b6adf24dd0df0a4e66ed to your computer and use it in GitHub Desktop.
Save jdoconnor/b6adf24dd0df0a4e66ed to your computer and use it in GitHub Desktop.

Revisions

  1. Jay OConnor created this gist Sep 26, 2014.
    2 changes: 2 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    # touch the directory. This is not efficient, as the directory will be touched for every file
    touch -d "${FILE_MODIFIED_TIME}" `dirname $2`