I have a command that only contains 4 arguments, one of which has a value of ~150,000 characters. When I run the command, I receive an error stating Argument list too long
.
I searched for a solution to similar problems, and someone recommended xargs
. I don't think this is is applicable to my problem, as I'm trying to pass a single argument that is 150k+ characters.
Here's a shortened version of what I'm trying to run:
appname -arg foo -arg2 bar -arg {150k characters}
I'm running Ubuntu 16.04.
appname -arg foo -arg2 bar -arg file.txt
– user1661677 Nov 21 '16 at 20:37