Bash move a list of files

In this article let’s discuss about Bash move a list of files. Let’s go through the following methods without any delay.

Method 1:

# 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

Hope the above solution works.

Realted Posts : How to install pyenv