Update README
This commit is contained in:
parent
55be36eb70
commit
304d35fa7d
1 changed files with 19 additions and 4 deletions
23
README.md
23
README.md
|
@ -14,13 +14,28 @@ Manages macOS Dock settings.
|
||||||
- `reset` - Reset Dock to default settings
|
- `reset` - Reset Dock to default settings
|
||||||
|
|
||||||
### `movefiles.sh`
|
### `movefiles.sh`
|
||||||
Moves files from one location to another based on file type.
|
Moves files from one location to another based on a search word in the filename.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./scripts/movefiles.sh [source_dir] [destination_dir]
|
./scripts/movefiles.sh [options] <search_word> <source_directory> <destination_directory>
|
||||||
```
|
```
|
||||||
- `source_dir` - Source directory containing files to move
|
Options:
|
||||||
- `destination_dir` - Destination directory for organized files
|
- `-v, --verbose` - Show detailed output
|
||||||
|
- `-p, --include-part` - Include files ending in .part (excluded by default)
|
||||||
|
- `-h, --help` - Show help message
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```bash
|
||||||
|
./scripts/movefiles.sh -v "document" ~/Downloads ~/Documents
|
||||||
|
```
|
||||||
|
|
||||||
|
Features:
|
||||||
|
- Searches for files containing the specified word in their filename (case-insensitive)
|
||||||
|
- Excludes .part files and macOS resource fork files by default
|
||||||
|
- Creates destination directory if it doesn't exist
|
||||||
|
- Shows preview of files to be moved before proceeding
|
||||||
|
- Asks for confirmation before moving files
|
||||||
|
- Reports number of files moved after completion
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue