Afficher un message
Vieux 13/03/2008, 19h27   #1
Jeenu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Multiple shell commands using find's -exec

Hi,

I'm just wondering whether there is a way of executing multiple shell
commands with find's -exec switch? If either of ";", "&&" or "|" is
used in between commands, then shell will interpret it as two separate
shell commands and some times fail. I can't even use \; since find
interprets it as the end of it's arguments. Any other go, than putting
all commands into a script?

Thanks
Jeenu
  Réponse avec citation
 
Page generated in 0,04447 seconds with 9 queries