แอปพลิเคชันภายนอก

แอปพลิเคชันภายนอก

คู่มือผู้ใช้ FreeFileSync:
เริ่มต้นอย่างรวดเร็ว บรรทัดคำสั่ง การตั้งค่าการเปรียบเทียบ เวลาประยุทธ์สว่าง ข้อความหลัก การตั้งค่าพื้นฐาน แอปพลิเคชันภายนอก แมโคร ประสิทธิภาพ การซิงค์งานในเวลาปัจจุบัน RTS: ใช้งานเป็นบริการ กำหนดตารางงานชุดคำสั่ง การตั้งค่าการซิงค์งาน (S)FTP การตั้งค่า เคล็ดลับและเทคนิค ตัวอักษรไดรฟ์ตัวแปร การจัดเวอร์ชัน สำเนาทเงาโ 볼ม
Thai: แอปพลิเคชันภายนอก

เมื่อคุณคลิกซ้ำที่หนึ่งในแถวบนกล่องโต้ตอบหลัก FreeFileSync จะเปิดเบราว์เซอร์ไฟล์ของระบบปฏิบัติการตามค่าเริ่มต้น:
ภาษาไทย:Windows:explorer.exe /select, "%local_path%" & exit 0
Thai:macOS:เปิด -R "%local_path%"
Thai:Linux:xdg-open "$(dirname "%local_path%")"
ไทย:ลินุกซ์:xdg-open "$(dirname "%local_path%")"
เพื่อปรับแต่งพฤติกรรมนี้หรือรวมแอปพลิเคชันภายนอกอื่นเข้าไปใน FreeFileSync ให้ทำการนำทางไปที่ เมนู → เครื่องมือ → ตัวเลือก → ปรับแต่ง เมนู คอนเท็ก스트 แล้วเพิ่มหรือแทนที่คำสั่ง
สามารถเข้าถึงรายการทั้งหมดได้อย่างรวดเร็วโดยกด ปุ่มตัวเลข 0 - 9 ที่เกี่ยวข้องหรือผ่านเมนูบริบทที่แสดงขึ้นหลังจากคลิกขวาที่เมาส์ รายการแรก สามารถดำเนินการได้ด้วยวิธี คลิกซ้อน บนรายการหนึ่ง
นอกเหนือจาก **แม็กโคร** ทั่วไปแล้ว ยังมีแม็กโครพิเศษดังต่อไปนี้:
Windows:explorer.exe /select, "%local _ path%" & exit 0
macOS:open -R "%local _ path%"
Linux:xdg-open "$(dirname "%local _ 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 %.
Examples
  • 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 %"
หมายเหตุ หากมแครอสทำให้เกิดพาธไฟล์ที่อาจมีอักขระช่องว่าง ต้องป้องกันโดยใช้เครื่องหมายคำพูด