Parcourir la source

verbose à notre sauce

Sniperovitch il y a 8 ans
Parent
commit
fa9480f2bf
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      cocktail

+ 4 - 1
cocktail

@@ -235,7 +235,10 @@ usage() {
 publish() {
     for ext in pdf docx html txt
     do
-      cp -vf "$WORKING_FOLDER/$PROJET.$ext" "$STORE/$PROJET.$ext"
+      local from="$WORKING_FOLDER/$PROJET.$ext"
+      local to="$STORE/$PROJET.$ext"
+      verbose "$from -> $to"
+      cp -f "$from" "$to"
     done
 }