URL:
<http://savannah.gnu.org/bugs/?32519>
Summary: Back-quoted `uuidgen` in -exec part is not executed
everytime
Project: findutils
Submitted by: fwoncn
Submitted on: Thu 17 Feb 2011 05:13:43 PM GMT
Category: find
Severity: 3 - Normal
Item Group: Wrong result
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.2
Fixed Release: None
_______________________________________________________
Details:
Here is my command:
find -name *.zip -execdir unzip {} -d `uuidgen -r` \;
I'm expecting it to unzip all zip files and put the extracted files into
different directories whose names are generated by uuidgen. But the
back-quoted uuidgen is apparently not exectued everytime. As a result, I got
prompts asking me to avoid the same name.
This command which does nothing meaningful:
find -name *.zip -exedir uuidgen -r \;
uuidgen here is executed everytime, however.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32519>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/