Salve!
mi sto perdendo in un bicchiere d'acqua..
ho la directory del mio sito da cui voglio eliminare, ricorsivamente, tutte le directory .svn al suo interno.
mi sapete dire come fare?
Grazie!
Sergej
Salve!
mi sto perdendo in un bicchiere d'acqua..
ho la directory del mio sito da cui voglio eliminare, ricorsivamente, tutte le directory .svn al suo interno.
mi sapete dire come fare?
Grazie!
Sergej
Sposto la discussione nell'area dedicata specificatamente a Linux.
MARCO BREVEGLIERI
Software and Web Developer, Teacher and Consultant
Home | Blog | Delphi Podcast | Twitch | Altro...
ho letto il post al link consigliato da sacarde, in effetti è quello che volevo proporre pure io....
ma non ho capito il + alla fine della riga a che serve ... io termino sempre l'exec con \;
Originariamente inviato da Sergej_D
ho la directory del mio sito da cui voglio eliminare, ricorsivamente, tutte le directory .svn al suo interno.
mi sapete dire come fare?codice:sudo rm -fr *.svnDe nada.Grazie!
Sergej
![]()
da man di find:
-exec command {} +
This variant of the -exec action runs the specified command on the selected
files, but the command line is built by appending each selected file name at
the end; the total number of invocations of the command will be much less
than the number of matched files. The command line is built in much the
same way that xargs builds its command lines. Only one instance of `{}' is
allowed within the command. The command is executed in the starting direc‐
tory.