Is there a way to mv,cp, or any file operation such that I could specify all the files I don't want affected?
For example, say I have a folder with the files file1, file2, and file3, and I want to move file1 and file2 somewhere. Rather than explicitly naming the files to move (mv file1 file2 /path/to/destination), I want to name the files not to move and have all the others in the folder get moved (mv --some-switch file3 /path/to/destination)
mv file1 file2 /path/to/destinationwill not do what you want it to do – phunehehe Sep 15 '10 at 12:25