mirror of
https://github.com/rclone/rclone.git
synced 2025-05-21 23:30:03 +08:00
move: add --delete-empty-src-dirs flag - fixes #1854
This commit is contained in:
@ -26,6 +26,8 @@ move will be used, otherwise it will copy it (server side if possible)
|
||||
into `dest:path` then delete the original (if no errors on copy) in
|
||||
`source:path`.
|
||||
|
||||
If you want to delete empty source directories after move, use the --delete-empty-source-dirs flag.
|
||||
|
||||
**Important**: Since this can cause data loss, test first with the
|
||||
--dry-run flag.
|
||||
|
||||
@ -37,7 +39,8 @@ rclone move source:path dest:path [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for move
|
||||
--delete-empty-src-dirs Delete empty dirs after move
|
||||
-h, --help help for move
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
Reference in New Issue
Block a user