I am trying to copy several files from 1 folder to another. How do I do it using the shell command prompt?
Consider that folder1 contains ten files (e.g. file1, file2, abc, xyz, etc.). I am currently working on the following in order to copy the 2 files from one folder to other:
cp /home/ankur/folder/file1 /home/ankur/folder/file2 /home/ankur/dest
I Typed the full path into the above command line for 2 files is annoying.
What comes to my mind is the regex, but I don't know much about it.