如果你看看他們的主頁
snow homepage
你會發現鏈接到他們的Java小程序應該至少說明你的工具的基本工作
。只要命令行,即使這很簡單,並附帶一個手冊頁(單詞文檔)。請具體說明哪一部分你不能理解。爲了清楚起見,例如,如果有一段文字,「說祕密文本」需要用雪來進行分類。所以這就是你要做的: -
打開命令行。 轉到您的目錄,有雪存在。 寫入SNOW.exe「祕密文本」輸出文件。 這裏的輸出文件是您將獲得經過加密文本的文件。 您可以隨時閱讀工具提供的不同開關的手冊頁。
至於你的第二個問題: -
下面是打印出目錄中的所有文件以遞歸的方式一小python腳本,即遍歷所有目錄中的目錄中,並打印出的文件名字出現在他們的路上。你現在可以從這裏取出每一行並將它作爲SNOW的輸入發送。
def fileLookUp(fixedPath):
temp=fixedPath;
#checking if the current directory in question has any inner directory.
if not Directory.GetDirectories(fixedPath):
#concluded that this is the innermost final directory.
files=Directory.GetFiles(fixedPath);
for eachFile in files:
#file retrieved in the innermost directory.
print eachFile; #this prints the path of the file along with the file name
else:
#further inner directory(ies) found.
directory=Directory.GetDirectories(fixedPath);
for folder in directory:
#reading each directory one by one to frame the next look-up path.
fixedPath="";
fixedPath+=folder;
fixedPath+="\\";
#next look-up path framed.
#sending the new look-up path for a recursive search again.
fileLookUp(fixedPath);
#after the files in the innner most directories at a particular level is
#processed, the recursive calls start reverting back and the control now
#reached here. Now doing the processing of the 'temp' .
filess=Directory.GetFiles(temp);
for eachFilee in filess:
print eachFilee;
請注意壓痕。該腳本在控制檯中輸出文件名和路徑。您可以將其寫在文件上,並根據需要逐行讀取。