Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-user-fr
Today, tlinux a écrit:
t> Bonjour,
t>
t> j'ai juste besoin d'un petit coup de main, je voudarais avoir la sintax
t> pour incrementer les noms de fichiers créés automatiquement lors de backup
t> genre en y ajoutant l'heure la date etc.. non_fichier-10/05/2005-23h30
t> (par ex)
MON_FICHIER=backup
echo ${MON_FICHIER}_`date '+%A_%d-%m-%Y_%Hh%Mmn%Ss'`.tgz
te donne backup_samedi_24-09-2005_16h17mn22s.tgz
pour plus de détails man date et man bash
t> si quelqu' ames charitable pouvait m'aider ce serait avec grand bonheur de
t> le remercier.
--
ludo |
|