Re: Copy everything bar one folder
- From: SteVe Cook <yorvik.ubunto@xxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 00:17:57 +0000
Joel Bryan Juliano wrote:
On 2/28/07, *SteVe Cook* <yorvik.ubunto@xxxxxxxxxxxxxxThanks everybody for the replies, I knew there would be several options.
<mailto:yorvik.ubunto@xxxxxxxxxxxxxx>> 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
Does bar means excluded mate? :-)
Ok, supposed you have a bar directory, we can lorry the other files
and gotten them copied to a destination directory.
rsync --exclude=/home/bar -a /home /newhome
You can always snuck in another --exclude= to rsync.
The one from Cybe R. Wizard being the one I was trying to think of but
couldn't.
...and yes bar does mean except. Not the best display of English, but
my brain was getting a bit addle at by then. ;-)
Thanks
SteVe
--
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
- Re: Copy everything bar one folder
- From: Joel Bryan Juliano
- Copy everything bar one folder
- Prev by Date: Re: Name resolution w/ multiple connections
- Next by Date: Re: 2wire router usb
- Previous by thread: Re: Copy everything bar one folder
- Next by thread: Re: Copy everything bar one folder
- Index(es):
Relevant Pages
|