Re: Copy everything bar one folder



SteVe Cook wrote:
I want to copy everything bar one very large folder from my current
/home partition to another smaller partition and make this new partition
/home.

The only real problem I'm having is finding out how to copy all the
files bar one. I could copy a few at a time I suppose but that seems
rather long winded.

Trawling round the web hasn't produced any answers. Any body got any ideas

SteVe


You could do something like:

$ rsync -av --exclude=dont-want-this /home /another/location

man rsync for more info.
You may need to use sudo at the front of the command depending on what
exactly you are trying to do.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Moving F7
    ... It worked but I had a real problem with initrd. ... file has within it the partition it expects to find the system. ... I've moved kernel + initrd from one disk to another without problem. ...
    (Fedora)
  • Re: Moving F7
    ... It worked but I had a real problem with initrd. ... file has within it the partition it expects to find the system. ... I've moved kernel + initrd from one disk to another without problem. ...
    (Fedora)
  • Re: Clean install, System disk drive letter = F?
    ... this is not uncommon, and is not a real problem, the system will still ... initially choose/make a partition, do so and THEN DELETE ALL THE ... XP treats zip drives just like any other IDE drive. ... after XP setup has worked. ...
    (microsoft.public.windowsxp.general)
  • Re: ubuntu 9.04 installation problem
    ... considered experimental in anything but using it on the /boot partition. ... in the installer interacting with his hardware, ... I'd prefer finding the real problem rather than avoiding ... Systems Administrator ...
    (Ubuntu)
  • Re: Copy everything bar one folder
    ... SteVe Cook said: ... /home partition to another smaller partition and make this new ... The only real problem I'm having is finding out how to copy all the ... Nice computers don't go down. ...
    (Ubuntu)