mv and exlude list
Guillaume CHARDIN
guillaume.chardin at gmail.com
Thu May 7 15:38:47 UTC 2009
Hi, maybe some scripting genius gonna help me :D
I need to move some file from one directory to other with some exclusions.
Ex: move files from "/data/product/" to "/data/archives/2005" while
the "*.dat" file/dirs stay in the right place.
$mv /data/product/* !(/data/product/*.dat) /data/archives/2005
If you have a solution, please tell me :)
Thanks for your time.
--
Guillaume
More information about the fedora-list
mailing list