Caution: BETA script - Make backups before executing script
About: Finds 0-byte files and replaces it with the latest corresponding SFConflict file
Limitations: Does not support files without extension.
The script can be used on Windows, Linux and macOS.
Download
Download from https://raw.githubusercontent.com/syncwerk/syncwerk-misc/master/syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.bat
Usage:
Place syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.bat
into the root directory of your library. Then double-click to execute it.
Download
mkdir -p /usr/local/bin
wget https://raw.githubusercontent.com/syncwerk/syncwerk-misc/master/syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version -O /usr/local/bin/syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.sh
chmod +x /usr/local/bin/syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.sh
Usage: Change into directory which you want to scan for 0-byte files recursively. Then call syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.sh
cd /c/Users/jdoe/Syncwerk/My\ Library
syncwerk-find-0-byte-files-replace-with-latest-SFConfict-version.sh
Caution: BETA script - Make backups before executing script
About: Finds duplicate files within each directory by comparing the md5 checksums. Duplicate files are then moved to a sub-folder named syncwerk-found-duplicates.sh
. This script is mainly intended to find duplicate "SFConflict" files but will also find other duplicate files.
The script can be used on Windows, Linux and possibly macOS (untested).
Install MSYS2 from http://www.msys2.org/. Run the following commands in the MSYS2 shell.
Download
mkdir -p /usr/local/bin
wget https://raw.githubusercontent.com/syncwerk/syncwerk-misc/master/syncwerk-find-and-move-duplicates.sh -O /usr/local/bin/syncwerk-find-and-move-duplicates.sh
chmod +x /usr/local/bin/syncwerk-find-and-move-duplicates.sh
Usage: Change into directory which you want to scan for duplicates files recursively. Then call syncwerk-find-and-move-duplicates
cd /c/Users/jdoe/Syncwerk/My\ Library
syncwerk-find-and-move-duplicates.sh
Download
wget https://raw.githubusercontent.com/syncwerk/syncwerk-misc/master/syncwerk-purge-file-locks.sh -O /usr/local/sbin/syncwerk-purge-file-locks.sh
chmod 700 /usr/local/sbin/syncwerk-purge-file-locks.sh
Run manually
syncwerk-purge-file-locks.sh
Run automatically
Setup cronjob to purge file-locks continously.
cd /usr/src/
wget https://github.com/syncwerk/syncwerk-misc/blob/master/syncwerk-python-uno_4.3.3-2+deb8u7_amd64.tgz?raw=true -O syncwerk-python-uno_4.3.3-2+deb8u7_amd64.tgz
tar xzf syncwerk-python-uno_4.3.3-2+deb8u7_amd64.tgz
cp -a syncwerk-python-uno_4.3.3-2+deb8u7_amd64/usr/* /usr/