rclone/docs/content/commands/rclone_deletefile.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2018-06-17 01:21:09 +08:00
---
title: "rclone deletefile"
description: "Remove a single file from remote."
2018-06-17 01:21:09 +08:00
slug: rclone_deletefile
url: /commands/rclone_deletefile/
2023-08-02 17:02:38 +08:00
groups: Important
2022-12-21 01:16:14 +08:00
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"
2018-06-17 01:21:09 +08:00
---
# rclone deletefile
2018-06-17 01:21:09 +08:00
2018-09-01 19:58:00 +08:00
Remove a single file from remote.
2018-06-17 01:21:09 +08:00
## Synopsis
2018-06-17 01:21:09 +08:00
2018-09-01 19:58:00 +08:00
Remove a single file from remote. Unlike `delete` it cannot be used to
2018-06-17 01:21:09 +08:00
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
2018-06-17 01:21:09 +08:00
```
-h, --help help for deletefile
```
2023-08-02 17:02:38 +08:00
## 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 the [global flags page](/flags/) for global options not listed here.
2023-08-02 17:02:38 +08:00
# SEE ALSO
2018-06-17 01:21:09 +08:00
2018-10-15 18:03:08 +08:00
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
2018-06-17 01:21:09 +08:00