Answers for "bash how to copy or move all files in a list"

1

bash how to copy or move all files in a list

# Basic syntax:
cp `cat list_of_files` /new/directory # To move the files, use mv instead
# Where the list_of_files can be separated by new lines or spaces and
# can include the full path or just the relative path (as long as you
# run the command in the directory where the files are for the latter)
Posted by: Guest on September-28-2020

Code answers related to "bash how to copy or move all files in a list"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language