Brian John wrote:
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?

mv 1 3 4 5 6 7 8 9 10 new/

What if I wanted to move everything but directories 2 and 7?

mv 1 3 4 5 6 8 9 10 new/

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

man mv

SYNOPSIS
     mv [-f | -i | -n] [-v] source target
     mv [-f | -i | -n] [-v] source ... directory

-Mark



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to