note: rclone does have a smb remote but imho, not recommended for production.
https://rclone.org/overview/#features
- lacks modtime support.
- lacks file verification using checksum/hash.
- relies on an upstream third-party library. i could be wrong, but it has not been updated since
Jul 15, 2022
- too many bugs/issues at rclone github, including some are waiting on
waiting for upstream...
https://github.com/rclone/rclone/issues?q=is%3Aissue+is%3Aopen+smb
luckily, it is easy to access SMB/SAMBA shares using the os.
on linux:
mount -t cifs -o username="username",password="password" //server/share /mnt/share
rclone ls /mnt/share
umount /mnt/share
on windows:
- mount with drive letter
net use x: \\server\share /user:"username" "password"
rclone ls x:\
net use /delete x:
- mount without drive letter
net use \\server\share /user:"username" "password"
rclone ls \\server\share
net use /delete \\server\share