how to move all files in the same directory except one into that one in UNIX ssh?
for example. having backup directory and moving all other files into backup
thanks in advance
how to move all files in the same directory except one into that one in UNIX ssh?
for example. having backup directory and moving all other files into backup
thanks in advance
Using rsync
is one of the possibility
rsync -av from/ to/ --exclude=file_to_exclude
More information about the rsync
command:
http://linux.about.com/library/cmd/blcmdl1_rsync.htm