Tags: liste

Sort by: Date / Title /

  1. 2 weeks ago by cyo
    1. while read line; do
    2.   tar -P -c -T - -f archive.tar.gz
    3. done < liste_diff.txt
    4.  
    5. Le fichier fourni en paramètre contient une liste de fichiers avec pour chacun le chemin absolu sur le serveur + nom du fichier. C’est pourquoi on rajoute l’option -P (--absolute-names) à la commande tar.
    6.  
    7. ATTENTION : Il faut laisser une ligne vide au début de fichier, sinon le premier fichier de la liste n’est pas pris en compte.
    8.  
    9. Voir aussi :
    10. http://linuxfr.org/forums/30/21469.html
  2. 3 months ago by cyo
    Pour utiliser sous Windows, installer find : http://gnuwin32.sourceforge.net/packages/findutils.htm et renommer 'find.exe' différemment pour qu'il ne soit pas en conflit avec la commande DOS du même. Nécessite aussi http://gnuwin32.sourceforge.net/packages/libintl.htm et http://gnuwin32.sourceforge.net/packages/libiconv.htm
    find -type f -mtime -1 -print0 | xargs -0 ls -lt>_dernieres_modifs.txt
  3. 3 months ago by cyo
    Pour écrire ces informations dans un fichier : > dir *.* /b /s >liste.txt
    1. dir *.* /b /s
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)