https://github.com/matthewruzzi/rclone-edit
Edit files in cloud storage with $EDITOR
https://github.com/matthewruzzi/rclone-edit
moreutils rclone vipe
Last synced: about 1 year ago
JSON representation
Edit files in cloud storage with $EDITOR
- Host: GitHub
- URL: https://github.com/matthewruzzi/rclone-edit
- Owner: matthewruzzi
- License: other
- Created: 2021-05-09T19:45:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T02:02:24.000Z (about 5 years ago)
- Last Synced: 2025-01-25T05:26:00.008Z (over 1 year ago)
- Topics: moreutils, rclone, vipe
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rclone-edit
Edit files in cloud storage with $EDITOR.
`rclone-edit rcloneremote:test.txt` will open test.txt from rcloneremote in `nano` (or `$EDITOR`), and save changes back to rcloneremote on exit.
Basically just `rclone cat $1 | vipe | rclone rcat $1`, but using bundled vipe if [moreutils](https://joeyh.name/code/moreutils/) not installed and defaulting to nano.
## Installation
Copy/symlink `rclone-edit` to a location in `$PATH`, like `/usr/local/bin` and make sure that it is executable with `chmod +x