No Description
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.

iso 307B

123456789101112131415161718
  1. #!/usr/bin/env sh
  2. #
  3. # pbrisbin 2013 - make an ISO of files or directories.
  4. #
  5. ###
  6. if [ $# -eq 0 ]; then
  7. printf "usage: iso <file>, ...\n" >&2
  8. exit 1
  9. fi
  10. tmp=/tmp/iso
  11. mkdir -p "$tmp"
  12. for file; do
  13. ln -s "$(readlink -f "$file")" "$tmp"
  14. done
  15. mkisofs -o ./files.iso -f -r -J -l -allow-leading-dots "$tmp"