阅读背景:

bash脚本以递归方式在目录上运行命令,具体取决于目录名称的模式

来源:互联网 

I am trying to write a small bash script to help sort some recovered directories/files back to their original file structure prior to the recovery. In a nutshell I have recovered a pool of disks that were pooled using aufs union file system, after the recovery of deleted directories/files I noticed that in a lot of the directories there are directories named ".wh..wh.original_dir_name.4_random_characters" for example ".wh..wh.Images.1E7W". This directory would be located in the same directory where the actual "Images" directory is located. These .wh directories are referred to as white space and are created by the aufs file system usually during delete operations but I noticed there are a lot of recoverable files/directories located in these but I would like to integrate them back into the normal structure.I am trying to write a small bash script to hel




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: