Answers for "bash move a list of files"

1

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
Posted by: Guest on October-04-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language