Batch mv file in terminal
Following command will be useful to move a list of files to some folders in terminal
$ ls | grep -v Folder | xargs -I {} mv {} Folder
the command roughly translates to:
list all files in this directory | excluding Folder | and move the listed files to Folder.
Comments Off