Copy all except one file?

Jan Moren jan.moren at lucs.lu.se
Sat Jul 29 16:57:25 UTC 2006


lör 2006-07-29 klockan 19:50 +0800 skrev Soo Qing:
> Hi!
> 
> I often need to copy all files (*) except one file
> (example.txt) from one directory to some places. How
> do I do that from the terminal?

If the file is not that big, and not super-secret, just copy it along
with all the other files and delete it afterwards.

Or, you move the file to the parent directory (moving is a very fast
operation), copy all remaining files, then move the file back.


-- 
Dr. Jan Morén (mr)              
Japan:  090-3622 8920           jan.moren at lucs.lu.se
Sweden: 031-360 7723            http://lucs.lu.se/people/jan.moren





More information about the ubuntu-users mailing list