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 |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
+ | [[find]] | ||
+ | find . -maxdepth 1 -name '*.pdf' -delete | ||
+ | |||
+ | * <code>[[ls]] -ld $(find ./) | sort -rnk5 | more</code> | ||
+ | |||
+ | === Alternatives === | ||
+ | [[find]] . -exec ls | [[sort]] -rnk7 | more | ||
− | |||
− | |||
== Related terms == | == Related terms == | ||
* <code>[[for]]</code> | * <code>[[for]]</code> | ||
− | + | * <code>[[execve]]</code> and <code>[[ARG_MAX]]</code> constant | |
+ | * [[No space left on device]] | ||
+ | * [[argv]] | ||
== See also == | == See also == | ||
* {{linux commands}} | * {{linux commands}} | ||
+ | * {{Bash}} | ||
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 07:43, 27 April 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[edit]
find . -exec ls | sort -rnk7 | more
Related terms[edit]
for
execve
andARG_MAX
constant- No space left on device
- argv
See also[edit]
- 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: