Re: find -die. -exec-die-upon-error

2016-05-12 Thread Dale R. Worley
Dan Jacobson writes: > Or perhaps -exec ... -o -die > > How could find live without a -die action? How about "-quit", which seems to be implemented in find 4.5.11? -quit Exit immediately. No child processes will be left running, but no more paths specified on the comman

find -die. -exec-die-upon-error

2016-05-12 Thread Dan Jacobson
Gentlemen, wouldn't it be great if instead of # find /mnt/usb/thumb/backups/ -mtime -4 -type f -exec cp -av {} /jidanni/backups/ \; '/mnt/usb/thumb/backups/root_bkp2016-05-10-08-22-18.bz2' -> '/jidanni/backups/' cp: cannot create regular file '/jidanni/backups/': No such file or directory '/mnt/u