I have files named
file_1_supply.csv
file_2_supply.csv
file_3_supply.csv
.......
file_30_supply.csv
I want to copy these files from one folder to another in Linux. The problem is there are also many other files in the directory. I want to do it by command line because the directory have a lots of file.
cp file_1_supply.csv /home/user/destination
usually I use this for copy but how to use this in a loop?
cp file_*.csv /home/user/destinationshould work.