(поиск одинаковых файлов – дубликатов)

installing fdupes:

apt install fdupes

yum install fdupes

 

running search of the duplicated files in the specified directory and writing the result to the file /home/user/dir/duplicates.txt:

its better to run in screen as it is long process:

screen -S fdupes

fdupes -r /home/user/dir > /home/user/dir/duplicates.txt

Linux (any distro):

Add the following lines to the section [Global] in the /etc/samba/smb.conf

ntlm auth = ntlmv1-permitted

client min protocol = CORE
server min protocol = CORE

and restart the service:

systemctl restart smbd


Windows (10, 11, Server 2016, 2019, 2022):

Run Powershell with administrator’s privileges and execute:

Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Set-SmbServerConfiguration -EnableSMB1Protocol $true