cp - Ubuntu problem when trying to copy ISO - Ask Ubuntu


i have dowloaded iso image , trying follow installation instructions.

i have mounted iso using following command:

sudo mount -o loop /home/pinkd/desktop/isofile.iso /media/iso 

then when execute next command message. doing wrong?

cp /media/iso/ /tmp/folder1/ cp: omitting directory '/media/iso/' 

when copying directory, have tell cp want copy content. thus, flag -r (recursive) required, or, stated in comment, use path /* , means every file in directory (please note, if directory contains other directories, omit them).

tl;dr: use -r flag, e.g.

cp -r /media/iso /tmp/folder1 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User