Created
March 26, 2012 10:42
-
-
Save schuster-rainer/2204388 to your computer and use it in GitHub Desktop.
Copy files that are newer than "date" from "source" to "target"
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
# $0 = date of format 201203220650 | |
# $1 = source | |
# $2 = target | |
touch -t $0 .probe | |
find $1 -type f -newer .probe -exec cp {} $2 \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment