Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I am new with linux and tried to backu my files doing this:

rsync -arvu /home /etc /opt /var

I was in the desired directory (on an external hard-disk drive) and logged in as su. but no files where in my directory after that. And Ubuntu told me that my hard-dsik is full ... absolutely full... 0 Bytes left.

then I did (with the dot in the end) this:

rsync -arvu /home /etc /opt /var .

and all worked fine... BUT

my hard space (not the external one) is absolutely full now.

WHERE did rsync put the files of the first try? how can I remove them? ... HEELP! :-)

share|improve this question
up vote 2 down vote accepted

The last argument is the destination. So your first command copied /home/SOMETHING to /var/home/SOMETHING, and so on.¹ Most Ubuntu systems don't have a /var/home, a /var/etc or a /var/opt, so you should be fine just deleting those directories.

share|improve this answer
thank you very much! – helle Jun 13 '11 at 12:44

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.