[Ilugc] Increasing the number of characters in a command line
- From: binand@xxxxxxxxx (Binand Sethumadhavan)
- Date: Thu Jun 8 09:33:31 2006
On 08/06/06, Anandh G <anandhg02@xxxxxxxxx> 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
--target-directory=/path/to/new/dir
Binand
Other related posts: