Paolo Sala ha scritto lo scorso 05/06/2006 09:50:
> Sandro Tosi scrisse in data 06/05/06 09:33:
> 
>> [...]
>> :)) A parte gli scherzi, devi indicare a tar di leggere dallo standard
>> input:
>> $ getfacl -R "$nameDir" | tar - -czfp "$tarName.acl.tgz"
> 
> Avevo provato anche cose del genere ma continua a darmi errore.
> Semplifichiamo lo script:
> 
> [EMAIL PROTECTED]:~$ ls -la | tar -czfp - pippo.tgz
> tar: -: Impossibile stat: No such file or directory
> tar: Uscita per errore ritardata dall'errore precedente
> 
> Cosa sbaglio?
> 

$ ls -a | xargs tar cf pippo.tar.gz -z

*ma*:

$ ls -a
.
..
elenco-dei-file

quindi fai anche il tar di ".."; รจ quello che vuoi realmente fare?




-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to