2000-08-23 15:03:42 +02:00
|
|
|
#!/bin/sh
|
2000-09-07 10:44:42 +02:00
|
|
|
if [ $# -eq 0 ]
|
|
|
|
then
|
|
|
|
echo "Usage: $0 find-options" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
2000-08-23 15:03:42 +02:00
|
|
|
@@@find_printf@@@ "$@" -type f -printf '%TY%Tm%Td%TH%TM.%TS %p\n' |
|
|
|
|
while read timestamp file
|
|
|
|
do
|
2000-09-07 10:44:42 +02:00
|
|
|
: > "$file"
|
2000-08-23 15:03:42 +02:00
|
|
|
touch -t "$timestamp" "$file"
|
|
|
|
done
|