Clean up
[backups/.git] / scripts / files-from-date.sh
1 #!/bin/sh
2
3 [ $# == 1 ] || exit 1
4
5 gawk --posix 'BEGIN { RS="\0" } { d=$7; gsub( /^([^ ]*[ ]){7,7}/, "" ); if ( date == d ) printf "%s\0",$0 }' date=$1