rclone/docs/content/commands/rclone_deletefile.md

1.0 KiB

title description groups versionIntroduced
rclone deletefile Remove a single file from remote. Important v1.42

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

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 for global options not listed here.

SEE ALSO

  • rclone - Show help for rclone commands, flags and backends.