mirror of
https://github.com/rclone/rclone.git
synced 2024-12-03 05:45:24 +01:00
45 lines
1.1 KiB
Markdown
45 lines
1.1 KiB
Markdown
---
|
|
title: "rclone deletefile"
|
|
description: "Remove a single file from remote."
|
|
versionIntroduced: v1.42
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/deletefile/ and as part of making a release run "make commanddocs"
|
|
---
|
|
# rclone deletefile
|
|
|
|
Remove a single file from remote.
|
|
|
|
## Synopsis
|
|
|
|
Remove a single file from remote. Unlike `delete` it cannot be used to
|
|
remove a directory and it doesn't obey include/exclude filters - if the specified file exists,
|
|
it will always be removed.
|
|
|
|
|
|
```
|
|
rclone deletefile remote:path [flags]
|
|
```
|
|
|
|
## Options
|
|
|
|
```
|
|
-h, --help help for deletefile
|
|
```
|
|
|
|
Options shared with other commands are described next.
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
### Important Options
|
|
|
|
Important flags useful for most commands
|
|
|
|
```
|
|
-n, --dry-run Do a trial run with no permanent changes
|
|
-i, --interactive Enable interactive mode
|
|
-v, --verbose count Print lots more stuff (repeat for more)
|
|
```
|
|
|
|
## See Also
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|