PDA

View Full Version : Storing files on Linux - naming etiquette



2004-04-27, 08:41
> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> Jim Willsher
> Sent: Monday, April 26, 2004 8:02 PM
> To: 'Slim Devices Discussion'
> Subject: [slim] Storing files on Linux - naming etiquette
>
>
> Hi all,
>
> Having ripped my entire CD collection to MP3 I'm now looking
> for a home
> for the files, and the ideal place is my RedHat Linux server (switched
> on 24x7). Now, all my filenames are currently on a Windows PC in the
> convention:
>
> Number - Title
>
> In a folder called
>
> Album
>
> E.g.
>
> Brothers In Arms\01 - So Far Away.mp3
> Brothers In Arms\02 - Money For Nothing.mp3
>
>
> I'm a bit of newbie at Linux, and it seems to handle file names with
> spaces (using escape characters). BUT...what I'm looking for are other
> peoples thoughts on the filenames. For example, should I
> rename them all
> to replace the spaces with underscores etc. I've already set
> my ID3 tags
> to my preferences, so renaming is fine.
>
> Thoughts please :-))
>
> Many thanks,
>
>
> Jim
>
> ------------------------------
>
> Date: Mon, 26 Apr 2004 14:42:43 -0400
> From: Pat Farrell <pfarrell (AT) pfarrell (DOT) com>
> To: Slim Devices Discussion <discuss (AT) lists (DOT) slimdevices.com>
> Subject: [slim] Storing files on Linux - naming etiquette
>
> At 02:01 PM 4/26/2004, you wrote:
> >the files, and the ideal place is my RedHat Linux server
> (switched on=
> 24x7).
>
> Good choice.
>
> >Brothers In Arms\01 - So Far Away.mp3
> >Brothers In Arms\02 - Money For Nothing.mp3
> >I'm a bit of newbie at Linux, and it seems to handle file
> names with spaces
> >(using escape characters). BUT...what I'm looking for are
> other peoples
> >thoughts on the filenames.
>
> I have nearly 600 CDs and 8300 songs on a Fedora Linux box with Samba.
> The file names, artist names, etc. have spaces. It all works fine.
>
> I thought about renaming everything, but it would be a lot of work
> even with a suitable script, and since it works, there is no
> need to change.
>
> Having slashes in the filenames is a bad idea, whether it is
> forward / or
> backwards \ which can cause problems if you love AC/DC
>
> If you use Windows clients, as most people do, and Linux for
> file storage,
> then you'll find that sticking with US ASCII printable
> characters is better.
> The accented characters of Western European languages work differently
> in different operating systems and file systems. This is more
> of a problem with classical collections: Andr=E9s Segovia
> really should
> be stored as Andres Segovia just to keep the file systems all happy.
>
> Look up Samba for your linux box, maybe even get the O'Reilly
> book on it.
> You'll love it.
>
> Pat
>

Jim - I do as other here have recommended. I rip and encode on a Windows XP
box that saves the files directly to my SuSe server using Samba. Pat
Farrell recommended the O'Reilly book on Samba, which is excellent. A good
deal of this book is available online, perhaps enough to get you started.
http://www.oreilly.com/catalog/samba/chapter/book/ If your Windows clients
run XP or 2000, be sure to configure Samba for encrypted passwords.

You mention that you are new to Linux, so I'll also recommend that you look
into Webmin. It is an excellent administration tool with an http interface
that will make configuring Samba a little easier. I use it to manage my
Samba and ProFTPd servers. http://www.webmin.com/

As for file naming, I like having the artist name as part of the song title,
so I use the %A\%C\(%N) %A- %T naming option in EAC. Using the previous
example, this results in a filenames such as:

Dire Straits\Brothers in Arms\(01) Dire Straits - So Far Away.mp3


Good luck.

Kit Cheves
San Diego, CA