Difference between revisions of "Argument list too long"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | * <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | ||
− | Alternatives | + | |
+ | === Alternatives === | ||
[[find]] . -exec ls | [[sort]] -rnk7 | more | [[find]] . -exec ls | [[sort]] -rnk7 | more | ||
Revision as of 13:11, 10 March 2022
https://stackoverflow.com/questions/11289551/argument-list-too-long-error-for-rm-cp-mv-commands
find find . -maxdepth 1 -name '*.pdf' -delete
ls -ld $(find ./) | sort -rnk5 | more
Alternatives
find . -exec ls | sort -rnk7 | more
Related terms
for
execve
andARG_MAX
constant- No space left on device
See also
- Linux commands,
-h
,-r
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: