projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix logic to tell if 15 days have past since last backup.
[backups/.git]
/
scripts
/
files-from-date.sh
diff --git
a/scripts/files-from-date.sh
b/scripts/files-from-date.sh
index 80c0ad374ed448f84e8e1af2eb515e8020c042e2..2db6fc228c378165e316fb3a00236dbd464360b7 100755
(executable)
--- a/
scripts/files-from-date.sh
+++ b/
scripts/files-from-date.sh
@@
-2,4
+2,4
@@
[ $# == 1 ] || exit 1
[ $# == 1 ] || exit 1
-awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1
+
g
awk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1