Little handy Bash one-liners...
copy all folders bar one from one disk to another.
This uses a good trick to cope with folders with spaces in:
sudo ls /Volumes/My\ Book | \
while read i;do \
if [[ "Bedroom Windows disk image (failed March 2008)" != ${i} ]]; then \
echo ${i}; \
rsync -av "/Volumes/My Book/${i}" "/Volumes/LaCie 3/_MyBook/"; \
fi; \
done
|
find -maxdepth 1 -type f | \
while read i;do \
~/src/ffmbc/FFmbc-0.6-rc6/ffmbc -i "$i"; \
done
|