--- date: 2020-05-22T09:52:00+01:00 title: "rclone link" description: "Generate public link to file/folder." slug: rclone_link url: /commands/rclone_link/ # autogenerated - DO NOT EDIT, instead edit the source code in cmd/link/ and as part of making a release run "make commanddocs" --- # rclone link Generate public link to file/folder. ## Synopsis rclone link will create or retrieve a public link to the given file or folder. rclone link remote:path/to/file rclone link remote:path/to/folder/ If successful, the last line of the output will contain the link. Exact capabilities depend on the remote, but the link will always be created with the least constraints – e.g. no expiry, no password protection, accessible without account. ``` rclone link remote:path [flags] ``` ## Options ``` -h, --help help for link ``` See the [global flags page](/flags/) for global options not listed here. ## SEE ALSO * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.