I have files namedfile_1_supply.csvfile_2_supply.csvfile_3_supply.csv.......file_30_supply.csvI 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/destinationusually I use this for copy but how to use this in a loop?
move files in a loop
linux;cp
If you only want to copy file_1-file_30:cp file_{1..30}_supply.csv /home/user/destination