Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-09-2015, 06:38 AM   #1
LQ Newbie
Registered: Apr 2015
Posts: 1

Rep: Reputation: Disabled
Unhappy Rsync-/usr/bin/rsync: Argument list too long

I am trying to send lakh of small(JPG,PDF) files from one server to another. So am using rsync which helps differential copy, but when using it getting error as /usr/bin/rsync: Argument list too long.

Kindly help, other than rsync if any option is also there kindly update.

Thanks in advance

Old 04-09-2015, 06:42 AM   #2
LQ Guru
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,617

Rep: Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367
since you gave almost no information we can hardly help you further. I think you need to rethink how to invoke that tool. Or you may try to split that command into several parts. Also you may try to construct that command in perl or other languages where there is no limitation on it.
Old 04-09-2015, 06:42 AM   #3
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Every system has a limit on length of arguments.

So how are you using rsync to send files?

You can specify a directory contents with e.g. 'rsync src/ dest'.
Old 04-09-2015, 08:18 AM   #4
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,655

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
How much is a lakh?

A lakh or lac is a unit in the Indian numbering system equal to one hundred thousand (100,000; scientific notation: 10^5). In the Indian convention of digit grouping, it is written as 1,00,000. It is widely used both in official and other contexts in Bangladesh, India, Myanmar, Nepal, Pakistan, and Sri Lanka. It is often used in Indian, Pakistani, and Sri Lankan English. In Pakistan, the word lakh is only used in local languages and not in English media.
- Wikipedia.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: /bin/ls: Argument list too long redhatwannabe Linux - General 4 12-30-2014 11:46 PM
-bash: /bin/: Argument list too long zeeshan673 Linux - General 4 02-22-2007 11:25 AM
Zip gives error "-bash: /usr/bin/zip: Argument list too long" konathamsrinu Programming 3 07-06-2006 11:08 AM
-bash: /bin/mv: Argument list too long balanagireddy Linux - General 2 07-28-2004 12:19 AM
/bin/rm: Argument list too long dragon49 Linux - Software 1 09-02-2003 01:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration