SaCarde
salvataggio su usb in vfat
semplice script per salvare file su chiavetta in vfat
viene utilizzato il comando "cp" con l'opzione:
u, --update
copy only when the SOURCE file is newer than the destination file or when
the destination file is missing
lo script:
cp -uRv /home/sacarde/{dir}/* /media/KINGSTON/{dir}
cp -uvL /home/sacarde/{dir}/{link} /media/KINGSTON/{file}
p.s.
per eventuali errori dovuti a caratteri strani ":,*,"
occorre trasformarli con:
rename "{carattere}" "-" *
p.s.
nel caso di filesystem di destinazione ext2/3/4
rsync -av /home/sacarde/{dir} /media/disk
Le ultime notizie relative a questo argomento



















































Tutte le notizie relative a questo argomento