Reply to comment

Anonymous's picture
karn (visitor) says:

เจอว่าเวลาใช้ option -d แล้ว base_dir เป็นพวกที่มี space ในชื่อเช่น "My Documents" เวลาสร้างไดเร็กทอรี่มันสร้างไม่ได้ต้องแก้

  if [[ $USE_DIR -eq 1 ]]; then
    mkdir -p $base_dir/$manga_name
    cd $base_dir/$manga_name
  fi

เป็น

  if [[ $USE_DIR -eq 1 ]]; then
    mkdir -p "$base_dir"/$manga_name
    cd "$base_dir"/$manga_name
  fi

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.