For example
i have a directory called name and another called school
how to remove first 5 files from name into school?
thanks for helping
For example
i have a directory called name and another called school
how to remove first 5 files from name into school?
thanks for helping
Its is not clear if you want to move all files (the subject) or only X number of files.
For all files: $ mv <Path to SRC DIR>/* <Path to DST DIR>/
For only X files you can do something like this:
$ ls <Path to SRC DIR>/* | head -<number of files> | while read file ; do
> mv $file <Path to DST>
> done