瀏覽代碼

minor update

84582af
Dirk Alders 3 年之前
父節點
當前提交
ae8ba45b84
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      ineach
  2. 1
    1
      init_homepath

eachsubdir → ineach 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存