ctg-lund / Yggdrasil

the backbone of the CTG pipelines
0 stars 0 forks source link

Update delivery.sh #25

Closed henningonsbring closed 11 months ago

henningonsbring commented 12 months ago

To make our life easier, lets not maintain the version in the delivery e-mail. Right now it will even be called latest.pdf with our current symlink strategy.

Also since we use links we should add L to the -sh flag for the du command

henningonsbring commented 11 months ago

A -L allow the true size of the transfered data to be displayed in the customer e-mail

[henning@ls4-fe1 Jobs]$ du -sh 2023_160 | cut -f1
1.2G
[henning@ls4-fe1 Jobs]$ du -shL 2023_160 | cut -f1
1.8T