Re: Copy everything bar one folder
- From: Gabriel Dragffy <dragffy@xxxxxxxxx>
- Date: Tue, 27 Feb 2007 20:19:35 +0000
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
- References:
- Copy everything bar one folder
- From: SteVe Cook
- Copy everything bar one folder
- Prev by Date: Re: feisty : inserting CD will no longer popup dialog
- Next by Date: sun-java6
- Previous by thread: Re: Copy everything bar one folder
- Next by thread: Regaining "Control Centre"
- Index(es):
Relevant Pages
|