Quotidien Shaarli

Tous les liens d'un jour sur une page.

March 12, 2026

How to mount Samba/CIFS

sudo dnf install -y cifs-utils samba-client
sudo mount -t cifs -o username=yourwindowsusercode,uid=yourdefaultunixusercode,gid=yourdefaultgroupecode,file_mode=0664,dir_mode=0775,vers=3.0 //yourwindowsserver.yourdomain/yourshare /yourmountfolder

OR

sudo dnf install -y rclone fuse

rclone config
n) New remote
name> yourrclonealias
Storage> smb (50 / SMB / CIFS)
host> yourwindowsserver
user> yourwindowsusercode
pass> yourpassword

mkdir ~/yourmountfolder
rclone mount yourrclonealias: ~/yourmountfolder--vfs-cache-mode writes --daemon

rsync -avz --inplace --no-perms --no-group --no-times /anotherlocalfolder/ /yourmountfolder/
If it failed, to continue:
rsync -avz --size-only --partial --progress --stats --inplace --no-perms --no-group --no-times /anotherlocalfolder/ /yourmountfolder/