Advertisement
hecky

Copy burned ISO content to ISO file in linux

Jan 24th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. dd if=$(mount | grep cdrom | awk '{print $1}') of=/tmp/CD_TO_ISO.iso bs=$(isoinfo -d -i $(mount | grep cdrom | awk '{print $1}') 2>/dev/null | grep -e "Logical" -e "Volume size" | cut -d ":" -f2 | tr "\n" " " | sed 's/  / count=/;s/ //')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement