2018-06-16 17:21:09 +00:00
|
|
|
---
|
2020-05-25 10:59:33 +00:00
|
|
|
date: 2020-05-25T12:06:00+01:00
|
2018-06-16 17:21:09 +00:00
|
|
|
title: "rclone deletefile"
|
2020-05-16 14:11:55 +00:00
|
|
|
description: "Remove a single file from remote."
|
2018-06-16 17:21:09 +00:00
|
|
|
slug: rclone_deletefile
|
|
|
|
url: /commands/rclone_deletefile/
|
2020-02-10 12:31:45 +00:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/deletefile/ and as part of making a release run "make commanddocs"
|
2018-06-16 17:21:09 +00:00
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
# rclone deletefile
|
2018-06-16 17:21:09 +00:00
|
|
|
|
2018-09-01 11:58:00 +00:00
|
|
|
Remove a single file from remote.
|
2018-06-16 17:21:09 +00:00
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Synopsis
|
2018-06-16 17:21:09 +00:00
|
|
|
|
|
|
|
|
2018-09-01 11:58:00 +00:00
|
|
|
Remove a single file from remote. Unlike `delete` it cannot be used to
|
2018-06-16 17:21:09 +00: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]
|
|
|
|
```
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Options
|
2018-06-16 17:21:09 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for deletefile
|
|
|
|
```
|
|
|
|
|
2019-06-20 15:18:02 +00:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## SEE ALSO
|
2018-06-16 17:21:09 +00:00
|
|
|
|
2018-10-15 10:03:08 +00:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2018-06-16 17:21:09 +00:00
|
|
|
|