Externe Anwendungen
Externe Anwendungen
FreeFileSync Benutzerhandbuch:Quick Start → Schnellstart Command Line → Befehlszeile Comparison Settings → Vergleichseinstellungen Daylight Saving Time → Sommerzeit Exclude Files → Dateien ausschließen Expert Settings → Experteneinstellungen External Applications → Externe Anwendungen Macros → Makros Performance → Leistung RealTimeSync → Echtzeit-Synchronisierung RTS: Run as Service → RTS: Als Dienst ausführen Schedule Batch Jobs → Batch-Jobs planen Synchronization Settings → Synchronisationseinstellungen (S)FTP Setup → (S)FTP-Einrichtung Tips and Tricks → Tipps und Tricks Variable Drive Letters → Variable Laufwerksbuchstaben Versioning → Versionsverwaltung Volume Shadow Copy → Volume Shadow Copy
Wenn Sie in der Hauptdialogbox doppelt auf eine der Zeilen klicken, öffnet FreeFileSync standardmäßig den Dateibrowser des Betriebssystems:
Um dieses Verhalten anzupassen oder andere externe Anwendungen in FreeFileSync zu integrieren, wechseln Sie zu Menü → Extras → Optionen → Kontextmenü anpassen und fügen Sie einen Befehl hinzu oder ersetzen Sie ihn.Alle Einträge können schnell abgerufen werden, indem die zugehörigen Zifferntasten 0–9 gedrückt werden oder über das Kontextmenü, das nach einem Rechtsklick angezeigt wird. Der erste Eintrag kann auch ausgeführt werden, indem man auf einen Eintrag doppelklickt .Neben den regulären **Makros** stehen auch die folgenden speziellen Makros zur Verfügung:
Externe Anwendungen
Wenn Sie in der Hauptdialogbox doppelt auf eine der Zeilen klicken, öffnet FreeFileSync standardmäßig den Dateibrowser des Betriebssystems:
Windows: | explorer.exe /select, "%local _ path%" & exit 0 | |
macOS: | open -R "%local _ path%" | |
Linux: | xdg-open "$(dirname "%local _ path%")" |
Macro | Description | |||
%item _ path% | Full file or folder path | |||
%local _ path% | Creates a temporary local copy for files located on SFTP and MTP storage. Otherwise identical to %item _ path% for local files and network shares. | |||
%item _ name% | File or folder name | |||
%parent _ path% | Parent folder path |
- • To refer to the item on the opposite side, append " 2 " to the macro name:
%item _ path 2 %, %local _ path 2 %, %item _ name 2 %, %parent _ path 2 %. - • To generate a list including all selected items (separated by space), append " s " to the macro name:
%item _ path s %, %local _ path s %, %item _ name s %, %parent _ path s %.
Beispiele
- • Start a file content comparison tool:Windows: WinMerge "C: \ Program Files (x86) \ WinMerge \ WinMergeU.exe" "%local _ path%" "%local _ path2%"macOS: opendiff (requires Xcode)opendiff "%local _ path%" "%local _ path2%"Ubuntu: kompare (sudo apt install kompare)kompare "%local _ path%" "%local _ path2%"
- • Show file in Windows Explorer:explorer.exe /select, "%local _ path%" & exit 0 Note
Explorer.exe does not set an exit code, but FreeFileSync will show an error message if it does not find exit code = 0 ("Success"). To mitigate, append ( & ) command exit 0 to set the exit code explicitly. - • Open command prompt for the selected item:start cmd.exe /k cd /D "%parent _ path%" Note
FreeFileSync hides the console window, so start opens a new window. cmd.exe /k runs the following command without immediately exiting the console. cd navigates to the directory, even if it's on a different volume ( /D ). - • Copy item path to Clipboard (as alternative to CTRL + C)echo %item _ path%| clip
- • Write list of selected file paths to a text file:echo %item _ path% >> %csidl _ Desktop% \ file _ list.txt
- • Preview files using Quick Look on macOS:qlmanage -p "%local _ path%"
- • Pass a list of selected files to a script as command line arguments:C: \ my-script.cmd "%local _ path s %"