moving everything except a directory

Brian John brianjohn at fusemail.com
Tue Aug 30 22:40:00 GMT 2005


Say I am at ~ and I have 10 directories inside named 1, 2, 3, 4 ,5, 6, 
7, 8, 9 and 10.  What command can I use to move everything but directory 
2?  What if I wanted to move everything but directories 2 and 7?

I'm not sure how to use the mv command to do this in 1 comand.

Thanks

/Brian


More information about the freebsd-questions mailing list