官方網站 http://stahlworks.com/dev/swiss-file-knife.html
下載網址 http://sourceforge.net/projects/swissfileknife/
安裝
(1)下載sfkxxx.exe,將檔案名稱改成sfk.exe,使用「附屬應用程式」的「命令提示字元」,改變目錄到儲存sfk.exe的資料夾。
(2)執行sfk.exe,看到指令說明表示安裝完成。

執行範例
(1)列出C磁碟中資料夾超過1000MB的檔案
sfk stat -minsize=1000m C:\
(2)md5檢查
(2-1)列出檔案的md5
sfk md5 檔案1 檔案2
sfk md5 sfk.exe sfk2.exe
官方網站完整功能介紹
sfk md5 sfk.exe sfk2.exe
(2-3)驗證
sfk md5 -verify 該檔案md5驗證碼 檔案
sfk md5 -verify 07c9abd4348eb77b82aed45e94e7999b sfk.exe
官方網站完整功能介紹
type "sfk commandname" for help on any of the following.
some commands require to add "-help" for the help text.
file system
sfk list - list directory tree contents.
list latest, oldest or biggest files.
list directory differences.
list zip jar tar gz bz2 contents.
sfk filefind - find files by filename
sfk treesize - show directory size statistics
sfk copy - copy directory trees additively
sfk sync - mirror tree content with deletion
sfk partcopy - copy part from a file into another one
sfk mkdir - create directory tree
sfk delete - delete files and folders
sfk deltree - delete whole directory tree
sfk deblank - remove blanks in filenames
sfk space [-h] - tell total and free size of volume
sfk filetime - tell times of a file
sfk touch - change times of a file
conversion
sfk lf-to-crlf - convert from LF to CRLF line endings
sfk crlf-to-lf - convert from CRLF to LF line endings
sfk detab - convert TAB characters to spaces
sfk entab - convert groups of spaces to TAB chars
sfk scantab - list files containing TAB characters
sfk split - split large files into smaller ones
sfk join - join small files into a large one
sfk hexdump - create hexdump from a binary file
sfk hextobin - convert hex data to binary
sfk hex - convert decimal number(s) to hex
sfk dec - convert hex number(s) to decimal
sfk chars - print chars for a list of codes
sfk bin-to-src - convert binary to source code
text processing
sfk filter - search, filter and replace text data
sfk addhead - insert string at start of text lines
sfk addtail - append string at end of text lines
sfk patch - change text files through a script
sfk snapto - join many text files into one file
sfk joinlines - join text lines split by email reformatting
sfk inst - instrument c++ sourcecode with tracing calls
sfk replace - replace words in binary and text files
sfk hexfind - find words in binary files, showing hexdump
sfk run - run command on all files of a folder
sfk runloop - run a command n times in a loop
sfk printloop - print some text many times
sfk strings - extract strings from a binary file
sfk sort - sort text lines produced by another command
sfk count - count text lines, filter identical lines
sfk head - print first lines of a file
sfk tail - print last lines of a file
sfk linelen - tell length of string(s)
search and compare
sfk find - find words in binary files, showing text
sfk md5gento - create list of md5 checksums over files
sfk md5check - verify list of md5 checksums over files
sfk md5 - calc md5 over a file, compare two files
sfk pathfind - search PATH for location of a command
sfk reflist - list fuzzy references between files
sfk deplist - list fuzzy dependencies between files
sfk dupfind - find duplicate files by content
networking
sfk httpserv - run an instant HTTP server.
type "sfk httpserv -help" for help.
sfk ftpserv - run an instant FTP server
type "sfk ftpserv -help" for help.
sfk ftp - instant anonymous FTP client
sfk wget - download HTTP file from the web
sfk webrequest - send HTTP request to a server
sfk tcpdump - print TCP conversation between programs
sfk udpdump - print incoming UDP requests
sfk udpsend - send UDP requests
sfk ip - tell own machine's IP address(es).
type "sfk ip -help" for help.
sfk netlog - send text outputs to network,
and/or file, and/or terminal
scripting
sfk script - run many sfk commands in a script file
sfk echo - print (coloured) text to terminal
sfk color - change text color of terminal
sfk alias - create command from other commands
sfk mkcd - create command to reenter directory
sfk sleep - delay execution for milliseconds
sfk pause - wait for user input
sfk label - define starting point for a script
sfk tee - split command output in two streams
sfk tofile - save command output to a file
sfk toterm - flush command output to terminal
sfk loop - repeat execution of a command chain
sfk cd - change directory within a script
sfk getcwd - print the current working directory
sfk require - compare version text
development
sfk bin-to-src - convert binary data to source code
sfk make-random-file - create file with random data
sfk fuzz - change file at random, for testing
sfk sample - print example code for programming
sfk inst - instrument c++ with tracing calls
diverse
sfk media - cut video and binary files
sfk view - show results in a GUI tool
sfk toclip - copy command output to clipboard
sfk fromclip - read text from clipboard
sfk list - show directory tree contents
sfk env - search environment variables
sfk version - show version of a binary file
sfk ascii - list ISO 8859-1 ASCII characters
sfk ascii -dos - list OEM codepage 850 characters
sfk license - print the SFK license text
help by subject
sfk help select - how dirs and files are selected in sfk
sfk help options - general options reference
sfk help patterns - wildcards and text patterns within sfk
sfk help chain - how to combine (chain) multiple commands
sfk help shell - how to optimize the windows command prompt
sfk help unicode - about unicode file reading support
sfk help colors - how to change result colors
sfk help xe - infos on sfk extended edition





沒有留言:
張貼留言