Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Nov 22 '12 at 8:34

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

3 Answers 3

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

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

share|improve this answer

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

Your Answer


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