Skip to main content
11 events
when toggle format what by license comment
Mar 31, 2023 at 14:21 history edited cas CC BY-SA 4.0
added rm-only version. moved explanation of ARG_MAX
Mar 31, 2023 at 14:03 vote accept Namenlos
Mar 31, 2023 at 14:03
Mar 31, 2023 at 14:03 history edited cas CC BY-SA 4.0
added 342 characters in body
Mar 31, 2023 at 13:57 comment added Peregrino69 Gotcha, thx :-)
Mar 31, 2023 at 13:56 comment added cas or when you couldn't be bothered writing a shell script wrapper to iterate over multiple arguments.
Mar 31, 2023 at 13:55 comment added Peregrino69 So the only situation when it is useful is if find is too old to support +?
Mar 31, 2023 at 13:53 comment added cas nope. 1 filename still fits into one command line. You can also use + if you want to run, say, a shell script - e.g. find ... -exec sh -c 'for f; do something with "$f"; done' sh {} +
Mar 31, 2023 at 13:53 comment added Peregrino69 LOL yeah I saw that, hence the question... do you mean + isn't useful when there is only one filename as argument? :-D
Mar 31, 2023 at 13:51 history edited cas CC BY-SA 4.0
added 282 characters in body
Mar 31, 2023 at 13:46 history edited cas CC BY-SA 4.0
added 282 characters in body
Mar 31, 2023 at 13:44 history answered cas CC BY-SA 4.0