阅读背景:

符号链接文件更新于X年代,然后在文件年代后删除符号链接?

来源:互联网 

i have a large number of files/folders coming in each day that are being sorted automatically to a wide variety of folders. I'm looking for a way to automatically find these files/folders and create symlinks to them all within an "incoming" folder. Searching for file age should be sufficient for finding the files, however searching for age and owner would be ideal. Then once the files/folders being linked to reach a certain age, say 5 days, remove the symlinks to them automatically from the "incoming" folder. Is this possible to do with a simple shell or python script that can be run with cron? Thanks!i have a large number of files/folders coming i




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

分享到: