Answer the question
In order to leave comments, you need to log in
How to add the first 10,000 files to an archive?
Hello!
How can I add the first or any 10000 files to an archive in a given folder?
Answer the question
In order to leave comments, you need to log in
the list of the first 10000 can be pulled out, for example, through the ls -l | awk '{print($9)}' | head -n 10000
last ones - similarly, through tail instead of head. Next, you submit the list to the input tar - profit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question