LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2010, 06:17 AM   #16
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49

Rhel.
Might be a choice made above me that I can't. Should know soon.
 
Old 01-20-2010, 07:32 AM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

RHEL has the limitation that they do not include a lot of stuff. But in my opinion if you can get the rpm file you can install it in an easy way:
Code:
rpm -Uvh filename.rpm
should do the trick (as I'm told).

Kind regards,

Eric
 
Old 01-20-2010, 07:48 AM   #18
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Thanks for the info. Now I just have to wait and see "if" i'm allowed to install it. If not i'm stuck with rsync.
 
Old 01-20-2010, 09:38 AM   #19
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Oh, now I get it, you might need approval from 'above' in order to install. Sorry about the misunderstanding.

Kind regards,

Eric
 
Old 01-20-2010, 09:50 AM   #20
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
yeah, that "above" :-)

and i'm still waiting. have a feeling its going to be a no go for unison though, I don't see it on any other servers here.
 
Old 01-20-2010, 09:55 AM   #21
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Not necessarily a no go, when I started working here in Spain a year ago, they only had 2 RHEL servers and about 60 Windoze. They were afraid of migrating anything, since they didn't have the knowledge. Now, one year later, we have 20 Linux (mostly Debian) and 40 Window§ servers, and still migrating things. Just to indicate that 'not knowing' or 'not using' at present doesn't mean your boss will give you a NO on the request.

You could ask him to allow you to set up a test environment in order to install and use Unison, and then compare it with rsync and communicate your findings with him.

Kind regards,

Eric
 
Old 01-20-2010, 11:08 AM   #22
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
good idea. we'll see what happens.
 
Old 01-21-2010, 08:49 AM   #23
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Unison got shot down. I'm stuck with rsync.

Chris made the suggestion earlier to try this

rsync -avz /src/bar/A* host:/data/tmp


But won't that grab any folder or files within those folders who's name starts with A?

What I need to do is only look at folder names at that path, have it be whether it starts with A or a, and have it sync the entire folder regardless of what the filenames are inside the folder.
 
Old 01-21-2010, 08:57 AM   #24
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
I think if I do a

find . -type d -iname "a*"

that will only give me folders who's names start with a or A. The only folders under my directory are those at the root level, so that might work. But how would i have rsync take those results and move them to say /mnt/usbdrive/FolderA-Z
 
Old 01-21-2010, 09:47 AM   #25
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Sorry to hear that Unison got shot down without even giving you a change to try it. Well, it's their loss. Hope you can get rsync to do what you want.

Kind regards,

Eric
 
Old 01-21-2010, 09:52 AM   #26
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
I can't even figure out how to do a find that will get me all the folders A-Z. I think if I wanted to have it rsync just all the A or a folders, I could do something like the following but I'm really not sure

find . -type d -iname "a*" -exec rsync -rtv --modify-window=1 {} /mnt/usbdrive/FolderA-Z \;

Maybe I need to open a new post to have someone look at it before I blow up my server?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
want to copy an inode folder from acdrom to a home directory (folder). nhbob Linux - Newbie 8 12-20-2009 11:12 AM
LXer: KNDISwrapper is half-done, but far from half-baked LXer Syndicated Linux News 0 12-04-2008 01:41 AM
Beryl/Ati/XGL half working, half not! LDJ Ubuntu 4 04-23-2007 04:05 PM
Half command constant half reiterated? PLRCA2 Linux - General 1 10-27-2006 02:55 AM
how do I install half windows98 half linux? xandar Linux - General 3 09-07-2005 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration