docs: cross link doc pages for related commands

This commit is contained in:
albertony
2022-06-19 15:51:37 +02:00
parent 4b7dc35cf4
commit de5ccaab8e
23 changed files with 117 additions and 84 deletions

View File

@@ -17,9 +17,10 @@ var commandDefinition = &cobra.Command{
Short: `Remove the path and all of its contents.`,
Long: `
Remove the path and all of its contents. Note that this does not obey
include/exclude filters - everything will be removed. Use the ` + "`delete`" + `
command if you want to selectively delete files. To delete empty directories only,
use command ` + "`rmdir`" + ` or ` + "`rmdirs`" + `.
include/exclude filters - everything will be removed. Use the
[delete](/commands/rclone_delete/) command if you want to selectively
delete files. To delete empty directories only, use command
[rmdir](/commands/rclone_rmdir/) or [rmdirs](/commands/rclone_rmdirs/).
**Important**: Since this can cause data loss, test first with the
` + "`--dry-run` or the `--interactive`/`-i`" + ` flag.