[Ilugc] Increasing the number of characters in a command line

Binand Sethumadhavan binand at gmail.com
Thu Jun 8 06:03:18 IST 2006

On 08/06/06, Anandh G <anandhg02 at yahoo.com> wrote:
> I want to move some 10 or 20 files with the mv command to one directory. But if the file names are long the number of characters in the command line is also more and it is not allowing me to add more files to the list.

This is one of those Unix IAQs. For Linux, you can:

find /path/to/dir -stuff that -lists your -files | xargs mv


More information about the ilugc mailing list