1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-27 17:35:35 +02:00
tldr/pages/common/filen.md

37 lines
903 B
Markdown
Raw Normal View History

# filen
> Interface with Filen, an end-to-end encrypted cloud storage service.
> More information: <https://github.com/FilenCloudDienste/filen-cli>.
- Enter interactive mode:
`filen`
- Upload a local file to a specific remote folder:
`filen upload {{path/to/local_file}} {{remote_folder_id}}`
- Download a file or folder using its remote ID:
`filen download {{remote_id}} {{path/to/local_destination}}`
- List files and folders inside a remote folder:
`filen ls {{remote_folder}}`
- Delete a remote file or folder (move it to trash):
`filen rm {{remote_id}}`
- Restore a trashed item:
`filen trash restore {{remote_id}}`
- Synchronize a local folder with a remote folder (two-way sync):
`filen sync {{path/to/local_folder}}:/{{remote_folder}} --continuous`
- Download changes from the cloud to a local folder (one-way sync):
`filen sync {{path/to/local_folder}}:ctl:/{{remote_folder}}`