Is it possible to limit a find to 100 results?
find $srcpath -xdev -type f exec mv {} $dstpath \;
The issue is when too many files hit the srcpath a
mv $srcpath\*.* $dstpath
fails due to parameter list too large ... the dstpath processes will fail for the same reason if I execute the above find.
find $srcpath -xdev -type f exec mv {} $dstpath \;
The issue is when too many files hit the srcpath a
mv $srcpath\*.* $dstpath
fails due to parameter list too large ... the dstpath processes will fail for the same reason if I execute the above find.