+1
-1
| { | ||
| "name": "category", | ||
| "description": "Files/Directorys categorization tool.", | ||
| "version": "0.1.1", | ||
| "version": "0.1.2", | ||
| "main": "bin/category", | ||
@@ -6,0 +6,0 @@ "scripts": { |
+8
-2
@@ -28,3 +28,3 @@ ## category | ||
| $ category -i "^IMG_(\d{4})(\d{2})(\d{2})_\d{6}(\.jpg)?$" -o "\$1-\$2-\$3" -f ./test ./test | ||
| $ category -i "^IMG_(\d{4})(\d{2})(\d{2})_\d{6}(\.jpg)?$" -o "$1-$2-$3" -f ./test ./test | ||
@@ -37,3 +37,3 @@ | ||
| ``` | ||
| $ category -i "^IMG_(\d{4})(\d{2})(\d{2})_\d{6}(\.jpg)?$" -o "\$1-\$2-\$3" -f ./test ./test | ||
| $ category -i "^IMG_(\d{4})(\d{2})(\d{2})_\d{6}(\.jpg)?$" -o "$1-$2-$3" -f ./test ./test | ||
| ``` | ||
@@ -66,2 +66,8 @@ | ||
| ### Personal usage | ||
| ``` | ||
| category -i '^(IMG|VID)_(\d{4})(\d{2})(\d{2})_\d{6}(\.(jpg|mp4))?$' -o '$2—$3—$4' -f ./Camera ./Camera | ||
| ``` | ||
| ### Test | ||
@@ -68,0 +74,0 @@ |
Sorry, the diff of this file is not supported yet
1582684
0.01%76
8.57%