创建许多空文件夹的脚本或方法?
我在外部硬盘上存储了很多音乐和一些电影,这样我就可以上楼在 PS3 上播放它们。并非所有内容都适合她的年龄段,因此我正在尝试设计一种方法来阻止她观看或收听这些内容,这样我的父母就不会对我大喊大叫。我只想对其进行加密,但 PS3 不支持加密,并且每次我想使用它时都很难解密一次性加密(如果存在这种情况)。所以我想我应该采用一些隐写术。如果我创建 100 个空文件夹,将真实文件放在一个未公开的文件夹中,她就有 1% 的机会猜到,并且可能会很快放弃。她可以只查看文件大小,但我非常怀疑她是否会想到这一点。任何人都知道我如何创建一大堆文件夹,我不想手动完成。一个简单的可执行脚本将非常有帮助(例如,只需插入您想要的文件夹数量和位置)。谢谢!
I store a lot of my music and some movies on my external hard drive so I can go upstairs and play them on my PS3. Not all of it is appropriate for her age group and so I am trying to devise a way to prevent her from viewing or listening to it so my parents don't yell at me. I would just encrypt it, but the PS3 does not support encryption and is a pain to decrypt a one time encryption every time I want to use it (if such a thing exists). So I thought I would employ a little steganography. If I created 100 empty folders, placing the real files in one undisclosed one she would have a 1% chance of guessing and would probably give up quickly. She could just look at the file size, but I highly doubt she would ever think of that. Anyone know how I can create a whole bunch of folders, I don't want to do it by hand. A simple executable script would be very helpful (e.g. just insert how many folders you want and where). Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 bash,那么这将起作用:
它将创建 100 个名为 junk0 到 junk99 的目录。您可以将垃圾更改为您喜欢的任何内容。如果你想变得更奇特,你可以阅读“man random”并弄清楚如何使用随机数而不是连续数。
If you're using bash then this will work:
It will create 100 directories named junk0 thru junk99. You can change junk to anything you like. If you want to get fancy you could read "man random" and figure out how to use random numbers rather than consecutive numbers.