Posted By Tommy

Send to:

Using Send-to in Ubuntu is supposed to be a helpful thing. Although I prefer using the Terminal for copying files to new locations, let’s see how send to works:

First, we right click the file:
sendTo1

Then we see the Send To dialog box:
sendTo2

We select the “Removable Media”.
sendTo3

Select the disk we’d like to send it to:
sendTo4

We have the option to send it as a zipped file:
sendTo5

We go to the target location and see if the new file is there:
sendTo6

If it’s not, we can just consider what happens in the terminal if using the command “cp” which means to copy. First, I look to see what drives are available:
tommy@ubuntu:~$ ls /media
cdrom cdrom1 floppy U3 System
cdrom0 f2fc5429-adbc-4957-b436-f990c1cba426 floppy0 Ubuntu 9.04

Check what’s on the drive:
tommy@ubuntu:~$ ls /media/f2fc5429-adbc-4957-b436-f990c1cba426/
bin dev initrd.img media opt sbin sys var
boot etc lib mnt proc selinux tmp vmlinuz
cdrom home lost+found root srv usr

I want to see my new file. It’s called “new file”.
tommy@ubuntu:~$ ls
Desktop Downloads Music new file~ Public Videos
Documents examples.desktop new file Pictures Templates

I copy the file into the USB drive, which has a really long name.
tommy@ubuntu:~$ cp new\ file /media/f2fc5429-adbc-4957-b436-f990c1cba426/
cp: cannot create regular file `/media/f2fc5429-adbc-4957-b436-f990c1cba426/new file': Permission denied

I realize that the copy command cp doesn’t work outside the user directory. Therefore, use sudo with password.
tommy@ubuntu:~$ sudo cp new\ file /media/f2fc5429-adbc-4957-b436-f990c1cba426/
[sudo] password for tommy:

Check that the file copied:
tommy@ubuntu:~$ ls /media/f2fc5429-adbc-4957-b436-f990c1cba426/
bin dev initrd.img media opt sbin sys var
boot etc lib mnt proc selinux tmp vmlinuz
cdrom home lost+found new file root srv usr

yes, it did, because “new file” now exists on the drive. Wow, the terminal works but rightclick “Send to” doesn’t.

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Tags Comment Meta:
RSS Feed for comments
TrackBack URI