1

I have 110 large files inside a directory. But I cannot copy them at once since the system gets timed out after 50 min. I want to copy files 1 to 10, next 11 to 20, next 21 to 30, and so on. The order does not matter. I want to copy 10 of the files each time I write the cp one line command. How can I write cp to copy file number 11 to 20 (this is not the head or the tail)?

The files' names have blank space in them.

closed as off-topic by Jeff Schaller May 10 at 23:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller
If this question can be reworded to fit the rules in the help center, please edit the question.