Duyên Trương
New member
How do I copy the first 10 files in Unix?
Answer
Copy the first n files from one directory to another
Answer
Copy the first n files from one directory to another
- find . – maxdepth 1 -type f | head -5 | xargs cp -t /target/directory. This looked promising, but failed because osx cp command doesn’t appear to have the. …
- exec in a few different configurations. This probably failed for syntax problems on my end : [/B]