Deal with file names that have ' in it 

Symptom 

$ find | xargs echo
xargs: unmatched single quote

Solution 

Change it to not harmful ones 

ls | grep "'" | doeach.pl mv "@'@_@'" "@'@~echo \\@'@_\\@' @b sed \\@'s/'/@@/g\\@'@~@'"

Use find -ls trick 

find . -ls | cut -c68- | sed "s/'/\\\\'/g" | xargs touch -c -t 200104150000
# -maxdepth 1

Use xargs -0 trick 

find -print0 | xargs -0 echo
ddate=200104150000
find -print0 | xargs -0 touch -c -t $ddate
find -type d -print0 | xargs -0 touch -c -t $ddate

documented on: 2001.04.13 Fri 03:43:11