Création d'un archive sans l'arborescence complète (nécessite GNU tar)

This commit is contained in:
Benjamin Bohard 2013-08-02 11:12:50 +02:00
parent e3ac641fe2
commit 19f80ea647
1 changed files with 1 additions and 1 deletions

View File

@ -17,4 +17,4 @@ EOB
rm -f programme_options.tex
done
tar -cf plans_de_formation.tar.gz $(find . -name "plan_de_formation_*.pdf" -type f)
tar -cf plans_de_formation.tar.gz --xform s:^.*/:: $(find . -name "plan_de_formation_*.pdf" -type f)