Sfoglia il codice sorgente

minor update

84582af
Dirk Alders 3 anni fa
parent
commit
ae8ba45b84
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2
    2
      ineach
  2. 1
    1
      init_homepath

eachsubdir → ineach Vedi File

@@ -3,7 +3,6 @@
3 3
 
4 4
 BASEDIR=`pwd`
5 5
 
6
-usage="Execute a command in each subdirectory:\n\nUsage: $0 [-p | print subdir info] \"command\""
7 6
 
8 7
 # More safety, by turning some bugs into errors.
9 8
 # Without `errexit` you don’t need ! and can replace
@@ -44,7 +43,8 @@ while true; do
44 43
             shift
45 44
             ;;
46 45
         -h|--help)
47
-            echo -e "Execute a command in each subdirectory:\n\nUsage: $0 [-p(--print-subdir) -e(--exclude) dir1, dir2,...,dirn)] \"command\""
46
+            echo -e "NAME\n\tineach - executes a command in each subdirectory"
47
+            echo -e "SYNOPSIS\n\tineach [-p, --print-subdir] [-e, --exclude dir1,dir2,...,dirn] \"command\""
48 48
             exit 0
49 49
             shift
50 50
             ;;

+ 1
- 1
init_homepath Vedi File

@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 #
3 3
 
4
-REPLACE_FOLDERS="Audio Bilder data Dokumente Downloads eclipse Musik prj Schreibtisch Videos choords"
4
+REPLACE_FOLDERS="Audio Bilder data Dokumente Downloads eclipse Musik prj Schreibtisch Videos"
5 5
 
6 6
 
7 7
 echo The following folders will be deleted:

Loading…
Annulla
Salva