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:
parent
f4095d3d80
commit
336488785c
1 changed files with 6 additions and 0 deletions
6
duc-index.sh
Executable file
6
duc-index.sh
Executable 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}
|
Loading…
Reference in a new issue