Message 'Argument too long' - TechRepublic
General discussion
January 12, 2005 at 12:24 PM
dodik

Message ‘Argument too long’

by dodik . Updated 21 years, 4 months ago

I loged in as user:
user: tif , group: other

I have to copy 5000 files from one folder to another folder:

cp ./folder1/* ./folder2/

but I receive message: “Argument too long”

in terminal console I switched user: “su”
user: root, group: other

cp ./folder1/* ./folder2/ now it works !
But I need to process this as user: tif.
What I heve to do?

Also why “exec ./myscript” command works but “sopurce ./myscript” does NOT ?
(I use c shell)

Thanks.

This discussion is locked

All Comments