spdx.sh 741 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. ls \
  3. ./res/static/app/var/lib/me-banner.jpg \
  4. ./res/static/app/var/lib/me-avatar.jpg \
  5. ./res/static/logo.png \
  6. ./doc/dirs/o/m-0/x359u5k.png \
  7. ./doc/dirs/o/m/aad78zt.jpg \
  8. ./doc/dirs/app/var/lib/e-0/x359u5k.png \
  9. ./doc/dirs/app/var/lib/e-2342/aad78zt.jpg \
  10. | while read -r fi
  11. do
  12. echo $fi
  13. convert $fi \
  14. -set schema.DC "http://purl.org/dc/elements/1.1/" \
  15. -set schema.DCTERMS "http://purl.org/dc/terms/" \
  16. -set DCTERMS.rightsHolder "The #Seppo contributors https://Seppo.Social/sourcecode" \
  17. -set DC.license "https://www.gnu.org/licenses/gpl-3.0" \
  18. -set DC.rights "GPL-3.0-only" \
  19. -set DC.source "https://Seppo.Social/sourcecode" \
  20. -set Comment "https://Seppo.Social" \
  21. $fi
  22. done