Initial version of a small script to generate an duc index of the whole

system ignoring nfs and davfs filesystems
This commit is contained in:
Ulf 2021-10-31 00:12:11 +02:00
parent f4095d3d80
commit 336488785c

6
duc-index.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
LogDatei="/var/log/duc-index.log"
echo -e "*** Erstelle duc index von / $(date +%F_%T)" &>> ${LogDatei}
duc index --fs-exclude="nfs,davfs" / &>> ${LogDatei}
echo -e "*** Vertich :-) mit duc return code <$?> um $(date +%F_%T)" &>> ${LogDatei}