您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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"