Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash move a list of files

# Basic syntax:
mv `cat list_of_files` /new/directory

# Note, the filenames in the list_of_files can be separated by spaces or
#	by new lines
# Note, just replace mv with cp if you want to copy a list of files to
#	a new directory instead of moving them
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #bash #move #list #files
ADD COMMENT
Topic
Name
7+6 =