如果你看看他们的主页
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;
请注意压痕。该脚本在控制台中输出文件名和路径。您可以将其写在文件上,并根据需要逐行读取。