Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 22:40:00 -0000
From:      Brian John <brianjohn@fusemail.com>
To:        freebsd-questions@freebsd.org
Subject:   moving everything except a directory
Message-ID:  <433DBEC0.1030001@fusemail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?433DBEC0.1030001>