To move a certain number of files, this command must be executed from the source or parent directory:
ls -Q source.dir | head -xxx | xargs -i mv source.dir/{} target.dir
xxx – the number of files to be moved
very very slowly
To move a certain number of files, this command must be executed from the source or parent directory:
ls -Q source.dir | head -xxx | xargs -i mv source.dir/{} target.dir
xxx – the number of files to be moved