This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient-contrib. commit 6ba8a078db6c468bfa6ee640280edf4ea01b2b96 Author: Mike DePaulo <mikedep333@gmail.com> Date: Sat Jan 10 14:26:38 2015 -0500 Add script to restore timestamps on cygwin 20141018-2 --- cygwin/20141018-2_set-timestamps.sh | 20 ++++++++++++++++++++ generate-timestamps-sample-command.txt | 2 ++ 2 files changed, 22 insertions(+) diff --git a/cygwin/20141018-2_set-timestamps.sh b/cygwin/20141018-2_set-timestamps.sh new file mode 100755 index 0000000..55f8aa6 --- /dev/null +++ b/cygwin/20141018-2_set-timestamps.sh @@ -0,0 +1,20 @@ +touch --no-create -d "2015-01-08 15:30:52.000000000 -0500" "20141018-2_bin/cygcrypto-1.0.0.dll" +touch --no-create -d "2013-10-20 08:13:00.000000000 -0400" "20141018-2_bin/cygedit-0.dll" +touch --no-create -d "2014-08-15 21:24:54.000000000 -0400" "20141018-2_bin/cyggcc_s-1.dll" +touch --no-create -d "2014-05-26 20:19:59.000000000 -0400" "20141018-2_bin/cygjpeg-8.dll" +touch --no-create -d "2014-05-26 19:06:01.000000000 -0400" "20141018-2_bin/cygncursesw-10.dll" +touch --no-create -d "2014-05-26 19:45:14.000000000 -0400" "20141018-2_bin/cygpng15-15.dll" +touch --no-create -d "2014-08-15 21:29:03.000000000 -0400" "20141018-2_bin/cygssp-0.dll" +touch --no-create -d "2014-08-15 21:29:09.000000000 -0400" "20141018-2_bin/cygstdc++-6.dll" +touch --no-create -d "2015-01-10 13:22:52.100620700 -0500" "20141018-2_bin/cygwin files and packages.csv" +touch --no-create -d "2014-08-13 17:04:14.000000000 -0400" "20141018-2_bin/cygwin1.dll" +touch --no-create -d "2014-09-16 21:03:25.348400000 -0400" "20141018-2_bin/cygXcomp.dll" +touch --no-create -d "2013-05-09 17:21:56.000000000 -0400" "20141018-2_bin/cygz.dll" +touch --no-create -d "2015-01-10 13:19:18.227946000 -0500" "20141018-2_bin/nx-libs version.txt" +touch --no-create -d "2014-09-16 21:05:26.318400000 -0400" "20141018-2_bin/nxproxy.exe" +touch --no-create -d "2014-09-17 17:40:48.233200000 -0400" "20141018-2_bin/openssh build options.txt" +touch --no-create -d "2014-09-17 17:42:27.599200000 -0400" "20141018-2_bin/sftp-server.exe" +touch --no-create -d "2014-09-17 17:42:28.856200000 -0400" "20141018-2_bin/sftp.exe" +touch --no-create -d "2014-09-30 19:26:13.000000000 -0400" "20141018-2_bin/sh.exe" +touch --no-create -d "2014-09-17 17:42:20.518200000 -0400" "20141018-2_bin/ssh-keygen.exe" +touch --no-create -d "2014-09-17 17:42:17.592200000 -0400" "20141018-2_bin/sshd.exe" diff --git a/generate-timestamps-sample-command.txt b/generate-timestamps-sample-command.txt new file mode 100644 index 0000000..c64a01c --- /dev/null +++ b/generate-timestamps-sample-command.txt @@ -0,0 +1,2 @@ +# http://superuser.com/questions/513753/how-to-save-and-restore-files-created-... +find "folder" -type f -exec stat -c 'touch --no-create -d "%y" "%n"' {} \; -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient-contrib.git