I am a beginner in linux.
I am trying to move specific 25k folders from directory containing 90k folders to another location. I have the folder names and tried the following command:
cp -r /path/{folder1,folder2,...} /path
It works for 200 folders, but for a bigger number it fails because argument list is too long.
Is there any other command or to read them from a text/csv
file?