Skip to main content
9 events
when toggle format what by license comment
Jun 1, 2021 at 7:39 comment added András Váczi A small remark: the same works with GNU cp as well.
May 6, 2018 at 12:40 comment added Kusalananda @JeremyDavis When using -exec ... {} +, the {} has to be the last thing before the +. This is why he uses mv -t destdir {} + and not mv {} destdir +. One cold have used -exec mv {} destdir ';' instead, but that would have executed mv once for each file.
Apr 10, 2018 at 0:55 comment added Jeremy Davis Thanks for this! I was trying to use -exec mv {} path_b + and it was failing with permissions errors. TBH, I still don't understand why, but -exec mv -t path_b {} + works a treat!
Feb 11, 2018 at 4:32 comment added cuonglm @Charles Roth: it's + which dows the job, you can read my quote above or man find instead
Feb 10, 2018 at 18:08 comment added Charles Roth Don't forget the "\;" at the end of the exec!
Sep 13, 2014 at 14:28 vote accept huahsin68
Sep 10, 2014 at 14:10 history edited cuonglm CC BY-SA 3.0
added 53 characters in body
Sep 10, 2014 at 14:08 history edited terdon CC BY-SA 3.0
Added an explanation
Sep 10, 2014 at 13:58 history answered cuonglm CC BY-SA 3.0