Skip to content

Instantly share code, notes, and snippets.

@NicHub
Last active October 8, 2021 13:35
Show Gist options
  • Save NicHub/f1ad90708b5521673df0e5bf7eb623db to your computer and use it in GitHub Desktop.
Save NicHub/f1ad90708b5521673df0e5bf7eb623db to your computer and use it in GitHub Desktop.
RCLONE FTP MOBILE PHONE
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
# use bash, not zsh to install
bash
curl https://rclone.org/install.sh | sudo bash
# get .rcloneignore
curl https://gist.githubusercontent.com/NicHub/56c64b1bec61695d2a9e0102ca3232cf/raw/2c4980626588e4f148e861206c995906172cc2c9/.rcloneignore > ~/.rcloneignore
rclone obscure ""
=> gnJeLX34CjiDhAw1RX9AQw
# Config
rclone config
code ~/.config/rclone/rclone.conf
[ftpnatel]
type = ftp
host = 192.168.1.236
user = anonymous
pass = gnJeLX34CjiDhAw1RX9AQw
port = 2121
tls = false
rclone ls ftpnatel:DCIM/Camera --max-age 1d
rclone copy ftpnatel:DCIM/Camera . --max-age 1d --progress --verbose --modify-window 2s --exclude-from ~/.rcloneignore --update --dry-run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment