Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy first n files linux

find . -maxdepth 1 -type f |head -1000|xargs cp -t "$destdir"
 
PREVIOUS NEXT
Tagged: #copy #files #linux
ADD COMMENT
Topic
Name
7+9 =