Copy and paste command

Discussion in 'Acer Aspire One' started by barrie, Dec 17, 2008.

  1. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    Hi,

    I have hit a brick wall, [​IMG] trying to copy and paste some jpg`s from my downloads folder into my pixmaps folder. This is the command I am using, help needed to get this Wright.
    I hit Alt-F2 and then type in the terminal
    sudo cp /home/user/Downloads/wave.jpg
    sudo cp /usr/share/pixmaps/wave.jpg
     
    barrie, Dec 17, 2008
    #1
  2. barrie

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Code:
    sudo cp /home/user/Downloads/wave.jpg /usr/share/pixmaps/wave.jpg
    
    Cheers.
     
    rbil, Dec 17, 2008
    #2
  3. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    Hi rbil,

    Thank you for this, can I ask one more question. If I now want to remove the jpg from the pixmaps folder would this be the command?

    Sudo rm-rf /usr/share/pixmaps/wave.jpg
     
    barrie, Dec 17, 2008
    #3
  4. barrie

    badmuddahumpa

    Joined:
    Oct 22, 2008
    Messages:
    24
    Likes Received:
    0
    Just rm (without the -rf) will do.

    Also, you could use mv (move) instead of cp then rm. The syntax is the same as the cp command rbil provided above.
     
    badmuddahumpa, Dec 18, 2008
    #4
  5. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    Hi badmuddahumpa,

    Thanks, only had this AAO Linpus a few weeks so still finding my way round, as its my first encounter with Linux wish I had done this years ago when I was younger.

    Have to say I have still to find what this little Acer cant do, it is absolutely great for on the move work and staying in contact. :D
     
    barrie, Dec 18, 2008
    #5
  6. barrie

    badmuddahumpa

    Joined:
    Oct 22, 2008
    Messages:
    24
    Likes Received:
    0
    badmuddahumpa, Dec 18, 2008
    #6
  7. barrie

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    rbil, Dec 18, 2008
    #7
  8. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    Hi rbil,

    Fantastic, these two links will really be invaluable. Thank you very much. [​IMG] Must say that this forum always come up with good and helpful hints. [​IMG]
     
    barrie, Dec 18, 2008
    #8
  9. barrie

    woodland

    Joined:
    Dec 14, 2008
    Messages:
    118
    Likes Received:
    0
    Location:
    Malta (but Dutch)
    you could use the File manager (Thunar) for this, if you're used to windows you might find it easier than using the terminal.

    in my opinion MC (MIdnight Commander) is still (after all these years!) the best file manager but i haven't yet figured out if i can install it on linpus.. ---Lets check the package manager.
     
    woodland, Dec 18, 2008
    #9
  10. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    Hi woodland,

    Thanks, I do not run windows just Linpus on this AAO, will have a look at Thunar, have seen it under the right click option system.
     
    barrie, Dec 19, 2008
    #10
  11. barrie

    barrie

    Joined:
    Nov 11, 2008
    Messages:
    296
    Likes Received:
    0
    Location:
    UK / Switzerland
    HI,

    One final question on this topic, how does one reclaim disk space after deleting software programs,files or folder etc. I use the trash can and empty this via the Go menu >trash >right click to empty trash, but still notice a drop of 500MB – 1 GB of disk space. I have hunted for a disk clean up command for linpus but cant find one. Or am missing it because I do not know its abbreviation letters. :)
     
    barrie, Dec 19, 2008
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.