Re: [SLUG] Merging two physical directories using possibly using ln-s and simple moving question

2005-07-08 Thread Chris Deigan
quote(Joel Heenan);
First, I have two directories with music files. I want to have them
appear as one directory to the filesystem, but actually be in two
physical locations (its too large for one disk). so I have
/home/media/music/ and /misc/media/music/ and I want all the
directories in /misc/media/music to appear in /home/media/music.

I thought one way would be to recursively ln-s the directories, and
then cron this operation. I am thinking there is a better way though.
What are your thoughts?

RAID them?

-Chris.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Merging two physical directories using possibly using ln-s and simple moving question

2005-07-07 Thread Joel Heenan
Slug,

Two embarassingly simple questions.

First, I have two directories with music files. I want to have them
appear as one directory to the filesystem, but actually be in two
physical locations (its too large for one disk). so I have
/home/media/music/ and /misc/media/music/ and I want all the
directories in /misc/media/music to appear in /home/media/music.

I thought one way would be to recursively ln-s the directories, and
then cron this operation. I am thinking there is a better way though.
What are your thoughts?

Second question: back in my windows days I would use the GUI to do
tasks like grab all the files created yesterday and move to this
directory. In a linux terminal I can't work out an easy way to do
this. One way is

find -ctime 1 | xargs mv

But that is very inefficient, and not particularly easy to type or
remember. Another way is to open norton commander or a variant and use
that, but call me crazy I still reckon this task and other similar
tasks are just easier with a GUI. Would you agree with that or do you
have solutions to these tasks in command form?

Joel
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html