You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
347 B

  1. #!/bin/bash
  2. # This shows du -hs for the important directories.
  3. source ./config.sh || exit 1
  4. du -hs \
  5. $INCOMING_UPLOADS_DIR \
  6. $CHUNKER_WORKING_DIR \
  7. $PACKING_QUEUE_DIR/* \
  8. $PACKER_WORKING_CHUNKS_DIR/* \
  9. $PACKER_WORKING_MEGAWARC_DIR/* \
  10. $UPLOAD_QUEUE_DIR/* \
  11. $UPLOADER_WORKING_DIR/* \
  12. 2> >(grep -v 'du: cannot \(access\|read\)' >&2)