Difference between revisions of "Argument list too long"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 6: | Line 6: | ||
* <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | * <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | ||
+ | Alternatives: | ||
+ | [[find]] . -exec ls | [[sort]] -rnk7 | more | ||
+ | |||
+ | |||
== Related terms == | == Related terms == |
Revision as of 05:25, 7 July 2020
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
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: