100+ Tasks. 1 Binary. Zero Hassle: Meet Swiss File Knife, The Ultimate Free File Utility for Windows, Linux and macOS
Table of Content
Imagine a single, no-nonsense file utility that does 100+ things, all in one tiny, portable binary. No install. No registry bloat. Just drop it on your USB drive, plug it in, and boom, you’ve got a full toolkit for every file task you’ll ever need.
That’s Swiss File Knife.
What is Swiss File Knife?
This isn’t some bloated software suite. It’s a lean, mean, command-line machine built for real users who hate wasting time. Whether you're a developer, sysadmin, or just someone tired of juggling 10 different apps to get simple file tasks done, this is your new best friend.
You don’t need admin rights. You don’t need a setup wizard. Just download, run, and start working.
You can use it to:
- Fix broken config files
- Automate repetitive file cleanup
- Debug logs in seconds
- Share project folders on the fly
- Script batch operations without writing code
Why We Love it?
- It runs on Windows, Linux, and Mac OS X.
- No installation required.
- Portable. USB stick-ready.
- Under 1MB.
Features
- Stream huge log files without crashing – View 1GB+ text files line-by-line with zero memory overhead.
- Search across files using regex patterns – Find exact matches in hundreds of files instantly with
xfind
. - Run instant HTTP or FTP server from CLI – Share folders locally or over LAN with one command.
- Split and join large files – Break 5GB files into chunks for transfer, then reassemble seamlessly.
- Create ZIP files on the command line – Compress files with UTF-8 support — no corrupted filenames.
- Extract ZIP, TAR, GZ, BZ2 archives – Browse nested archives (even inside ZIPs inside TARs) without extra software.
- Copy folder excluding subfolders and files – Copy only top-level content — perfect for selective syncing.
- Rename multiple files using expressions – Batch rename files with wildcards, regex, and dynamic naming.
- Replace text in text and binary files – Fix config files, scripts, or embedded strings in binaries safely.
- Generate MD5 checksum lists – Verify file integrity across systems, devices, or backups.
- Find duplicate files by content – Detect identical files regardless of name — clean up storage fast.
- Compare folders and list differences – See what’s changed, added, or missing between two directories.
- List biggest or newest files in directory tree – Quickly identify space hogs or recent uploads.
- Show first or last lines of a file (
head
,tail
) – Lightweight preview of large files without loading them all. - Send files over network via
sfk send
– Transfer files directly to another PC without cloud or email. - Upload mobile photos to PC via webserver – Turn your laptop into a temporary photo hub using built-in HTTP server.
- Fix bad filenames on Windows – Remove illegal characters and clean up broken file names automatically.
- Set file time from filename – Automate timestamp updates based on naming conventions.
- Change file timestamps or touch files – Update mod dates for testing, scripting, or backup workflows.
- Remove tabs (
detab
) or convert line endings – Fix CRLF vs LF issues in logs, code, and configs. - Convert CSV to tab-separated format – Clean up spreadsheets for import or analysis.
- Download files from the web (
wget
equivalent) – Fetch files directly from the command line. - Send HTTP or UDP requests – Test APIs, debug services, or trigger remote actions.
- Monitor TCP, HTTP, or UDP traffic – Capture live network activity from the terminal.
- Print colored text in terminal – Make output readable and visually distinct.
- Create hex dumps of binary files – Inspect raw data like a developer or forensic analyst.
- Join multiple text files into one – Merge logs, reports, or scripts in seconds.
- Search inside
.docx
,.xlsx
,.pptx
,.odt
,.ods
files – Find text in Word, Excel, PowerPoint, and OpenOffice documents. - Run a command on all files in a folder – Automate tasks across dozens or hundreds of files.
- Generate random test data – Fill directories with sample files for testing pipelines.
- Build backup scripts with exclusion rules – Exclude temp, cache, or hidden folders during backups.
- Multi-platform scripting support – Write scripts that work on Windows, Linux, and Mac OS X.
- Base64 encode and decode – Convert data for transmission or debugging.
- Hex encode and decode – Work with raw byte data from the command line.
- Uuencode and xxencode files – Old-school encoding for legacy compatibility.
- Ping multiple computers at once – Check network health across several devices in one go.
- Get/set clipboard text in batch (Windows only) – Integrate terminal workflows with system copy-paste.
- Reformat XML output – Clean up messy or poorly indented XML for readability.
- Cut video files using open-source tools – Split MP4s, AVIs, and other formats without installing bloated software.
- Index filenames for fast searches – Build a lookup table to find files in milliseconds.
- Delete files in selected subfolders only – Target cleanup without affecting parent directories.
- Stream text editor (
xed
) – Edit files line-by-line without launching a full editor. - Search files using expressions (
xfind
) – Advanced pattern matching — faster than grep, more powerful than find.
License
This project is an open-source project that is released under the BSD License.
Resources & Downloads
