On Sun, 2005-11-27 at 00:13, Philip Tellis wrote:
cd dir1 for i in *; [ ! -e ../dir2/$i ] && mv $i ../dir3; done cd ../dir2 for i in *; [ ! -e ../dir1/$i ] && mv $i ../dir3; done cd ../dir3 ls
Shouldn't there be a do before the [ in each case?
Regards, NMK. ----------------------------------------------------------------------- The greatest love is a mother's, then a dog's, then a sweetheart's. -- Polish proverb