github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_delete.md (about) 1 --- 2 date: 2019-06-20T16:09:42+01:00 3 title: "rclone delete" 4 slug: rclone_delete 5 url: /commands/rclone_delete/ 6 --- 7 ## rclone delete 8 9 Remove the contents of path. 10 11 ### Synopsis 12 13 14 Remove the files in path. Unlike `purge` it obeys include/exclude 15 filters so can be used to selectively delete files. 16 17 `rclone delete` only deletes objects but leaves the directory structure 18 alone. If you want to delete a directory and all of its contents use 19 `rclone purge` 20 21 Eg delete all files bigger than 100MBytes 22 23 Check what would be deleted first (use either) 24 25 rclone --min-size 100M lsl remote:path 26 rclone --dry-run --min-size 100M delete remote:path 27 28 Then delete 29 30 rclone --min-size 100M delete remote:path 31 32 That reads "delete everything with a minimum size of 100 MB", hence 33 delete all files bigger than 100MBytes. 34 35 36 ``` 37 rclone delete remote:path [flags] 38 ``` 39 40 ### Options 41 42 ``` 43 -h, --help help for delete 44 ``` 45 46 See the [global flags page](/flags/) for global options not listed here. 47 48 ### SEE ALSO 49 50 * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends. 51