[code:1]
#!/bin/bash
# tchdir----touch dir(s) and files(s) recursively, you can modify the
# time stamps of all the files in the target dir(s).
# USAGE: tchdir <dir1 dir2... file3 file4...>
for F in $* ; do
touch $F
if [ -d $F ] ; then
cd $F
$0 *
cd ..
fi
done
[/code:1]