Swiss File Knife
a command line
free external tools,
- download the free swiss file knife base from sourceforge. - unpack the tool using winzip or unzip. - open the Windows Command Line or a Linux shell.
sfk list ... +[f]view [-noshl|-nocol] ["-..."] Show SFK command text output interactively in Depeche View, a high speed text browser and filter tool for Windows which also runs on Linux/Mac if WINE is installed. The tool allows rapid repeated searches, or filterings, by typing words or by clicking on them. Type sfk getdv to download Depeche View Lite. It needs no installation and is free for personal use. Many SFK commands allow to add +view to have their output shown instantly in DView. This requires dview, dview.exe or dview.bat being located in the PATH. If you have downloaded an executable like dview155.exe, rename it before use. DView can be run under Linux and Mac, but this is experimental and unsupported. The latest WINE version must be installed. Google for "linux wine", or search it in your package manager. use as a chain command, or to display stdin: +[f]view can be used only after another command producing a list of filenames or plain text data: +view expects text as input. +fview expects a list of filenames. or use "sfk view -i" to display text from stdin. options -nocol[or] disable colored output and display. set this if you're using dview < 1.1.4 or any other viewer. -wrap[=n] wrap lines at column n. currently, this feature disables colors (implies -nocol), but depending on the content processed, dview may still show colors based on syntax highlighting. -noshl disable syntax highlighting at dview. "-x1 -x2" all other options are passed through unchanged to the viewer application. if multiple parameters have to be passed, surround them by double quotes. -verbose tell verbosely which target binary is invoked. -noback by default, dview is run as a background process, by prefixing the overall command with "start ". say -noback to let sfk wait until dview is stopped. temporary files this command creates a temporary file which is currently not deleted. type "sfk help options" for options on that. using a different viewer when viewing a list of files, this command runs "dview -flist tmpfilename" with tmpfilename containing a list of filenames. when viewing text line output, this command runs "dview tmpfilename" with tmpfilename containing ascii text data. specify -verbose to see what is invoked in detail. examples sfk list docs .txt +fview view content of all .txt files in directory docs. sfk echo x +view -verbose tell verbosely which dview(.exe?) executable is actually used. sfk list docs .txt +ffilter -+foo -hitfiles +fview "-max -over" view all .txt files from docs containing "foo", pass options -max -over to the viewer, showing a maximized window in overscan mode (without any title bar). sfk list docs .txt +ffilter -+foo +view "-space 0:0:40" view only text lines from docs containing "foo", in a window covering the whole desktop, except for 40 pixels at the bottom. sfk fromclip +view display current clipboard content (plain text only). tar tvf foo.tar | sfk view -i display a tar file's content listing. sfk larc -size -time -withdirs foo.tar +view the same, with sfk reading the .tar directly.
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.