2025-07-08 00:24:00 +02:00
|
|
|
# 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:
|
|
|
|
|
2025-07-09 15:46:41 +02:00
|
|
|
`filen ls {{remote_folder}}`
|
2025-07-08 00:24:00 +02:00
|
|
|
|
|
|
|
- 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}}`
|