Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am trying to move a folder from my desktop to to the following directory on ubuntu


please help me out i don't have a clue about this.

share|improve this question

migrated from Nov 22 '12 at 8:34

This question came from our site for professional and enthusiast programmers.

Open a terminal go "cp ~/Desktop/htdocs /opt/lampp/htdocs"

You may need elevated priviledges, so you might need to go "sudo !!" after that and put in a password.

share|improve this answer
it keeps saying omitting home/user/Desktop/htdocs – Daniel Barde Nov 22 '12 at 0:12
Sorry, try this: cp -R ~/Desktop/htdocs* /opt/lampp/htdocs – James McDonnell Nov 22 '12 at 0:58

Please open up a terminal and enter the following command

sudo cp -rv ~/Desktop/foldername /opt/lampp/htdocs

please replace the foldername accordingly and recheck the paths

share|improve this answer

Open a terminal, type /usr/bin/find $HOME/Desktop/htdocs -print | xargs -J % -n 25 sudo cp % /opt/lampp/htdocs

share|improve this answer
Emm... why the downvote? – hd1 Jun 18 '15 at 7:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.