I have a file that contains file names. For example:
/tmp/list.txt
(it is with the spaces at the start of each line):
/tmp/file.log
/app/nir/home.txt
/etc/config.cust
I want, using one line, to move all the files listed in /tmp/list.txt
to /app/dest
So it should be something like this:
cat /tmp/list.txt | xargs mv /app/dest/