POV-Ray : Newsgroups : povray.off-topic : Techniques for grabbing tagged files off of a data CD. Server Time
4 Sep 2024 11:23:26 EDT (-0400)
  Techniques for grabbing tagged files off of a data CD. (Message 1 to 9 of 9)  
From: gregjohn
Subject: Techniques for grabbing tagged files off of a data CD.
Date: 22 Mar 2010 12:30:00
Message: <web.4ba79af5111f89a4a00085090@news.povray.org>
I want to create a CD with a bunch of files on it.  I want to make it easy for
the user, regardless of OS, to be able to grab subsets of the files.  If we were
talking about books, say all the ones by Chris Cason or all the ones about
povray.

If there were enough room, an inefficient way, but one guaranteed to work, is to
create separate directory systems, one by author, one by topic, etc..  Chris'
hypothetical book on povray would be put into two different directories. Then
the user could go to the directory of interest and copy everything.

I'm wondering if there's some technology out there that can do this? Python
scripts? Windows Shortcuts?


Post a reply to this message

From: Warp
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 22 Mar 2010 13:17:20
Message: <4ba7a620@news.povray.org>
gregjohn <pte### [at] yahoocom> wrote:
> If there were enough room, an inefficient way, but one guaranteed to work, is to
> create separate directory systems, one by author, one by topic, etc..  Chris'
> hypothetical book on povray would be put into two different directories. Then
> the user could go to the directory of interest and copy everything.

  That's what soft links are for. I don't know, however, if any commonly
used CD file system supports soft links.

-- 
                                                          - Warp


Post a reply to this message

From: Tim Cook
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 22 Mar 2010 20:23:40
Message: <4ba80a0c@news.povray.org>
gregjohn wrote:
> I want to create a CD with a bunch of files on it.  I want to make it easy for
> the user, regardless of OS, to be able to grab subsets of the files.  If we were
> talking about books, say all the ones by Chris Cason or all the ones about
> povray.

 > regardless of OS

I think I found your problem, sir.

--
Tim Cook
http://empyrean.freesitespace.net


Post a reply to this message

From: clipka
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 22 Mar 2010 21:46:35
Message: <4ba81d7b$1@news.povray.org>
gregjohn schrieb:
> I want to create a CD with a bunch of files on it.  I want to make it easy for
> the user, regardless of OS, to be able to grab subsets of the files.  If we were
> talking about books, say all the ones by Chris Cason or all the ones about
> povray.
> 
> If there were enough room, an inefficient way, but one guaranteed to work, is to
> create separate directory systems, one by author, one by topic, etc..  Chris'
> hypothetical book on povray would be put into two different directories. Then
> the user could go to the directory of interest and copy everything.
> 
> I'm wondering if there's some technology out there that can do this? Python
> scripts? Windows Shortcuts?

HTML pages for each topic that link to the relevant files?

AFAIK there's also the possibility to have multiple directory entries on 
a CD refer to the same physical sectors, though I guess you'd need 
special tools to accomplish that. I heard tell that various copy 
protection systems use(d) that approach to inflate the content of the 
CD, so that when trying to do a file-by-file copy the resulting data 
would be too voluminous to burn on a CD again.


Post a reply to this message

From: Invisible
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 23 Mar 2010 05:28:09
Message: <4ba889a9$1@news.povray.org>
gregjohn wrote:
> I want to create a CD with a bunch of files on it.  I want to make it easy for
> the user, regardless of OS, to be able to grab subsets of the files.  If we were
> talking about books, say all the ones by Chris Cason or all the ones about
> povray.
> 
> I'm wondering if there's some technology out there that can do this? Python
> scripts? Windows Shortcuts?

So you have several *overlapping* sets of stuff?

Well, you could write a Bash script (which will, AFAIK, work with Linux, 
BSD, MacOS X, Solaris, HP-UX...) and a batch file (which will work with 
MS-DOS, MS Windows, and presumably ReactOS). The fun part is going to be 
deciding where to copy the files to; neither scripting language provides 
any easy way to do this.

Alternatively, you could try writing something in Java. This has a 
reasonable probability of working on any half-modern OS, and provides 
ample GUI capabilities for asking the user exactly which set(s) of files 
they want, and where to put them.


Post a reply to this message

From: Darren New
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 23 Mar 2010 17:16:08
Message: <4ba92f98$1@news.povray.org>
Warp wrote:
>   That's what soft links are for. I don't know, however, if any commonly
> used CD file system supports soft links.

Or hard links, for that matter.

I'm pretty sure ISO9660 allows multiple directory entries to point to the 
same file. You just have to find a program that will write them that way.

-- 
Darren New, San Diego CA, USA (PST)
   Yes, we're traveling togeher,
   but to different destinations.


Post a reply to this message

From: Warp
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 23 Mar 2010 17:27:53
Message: <4ba93259@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> >   That's what soft links are for. I don't know, however, if any commonly
> > used CD file system supports soft links.

> Or hard links, for that matter.

  True. The difference is, of course, that with soft links you have the
original file, and an independent "link" pointing to it somewhere else.
The original file has a definite location, and you can easily see that
the soft link is just a link pointing there.

  A hard link is, effectively, like if the file was in two places at the
same time (although its contents are stored in the disk only once). There
is no "original" file, as both file entries point to the same data. They
are both as "original" as the other. (In most unix file systems a program
like 'ls' will actually show the amount of hard links pointing to the same
file when you list the file; ie. like a reference count. It doesn't show
*where* those other links are, but you can see how many of them there are.)

  In this particular case the latter situation might even be better, in fact.

-- 
                                                          - Warp


Post a reply to this message

From: Darren New
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 25 Mar 2010 18:43:05
Message: <4babe6f9$1@news.povray.org>
Warp wrote:
>   In this particular case the latter situation might even be better, in fact.

I can't think of any downside, given that the medium is R/O.

-- 
Darren New, San Diego CA, USA (PST)
   Yes, we're traveling togeher,
   but to different destinations.


Post a reply to this message

From: Warp
Subject: Re: Techniques for grabbing tagged files off of a data CD.
Date: 26 Mar 2010 02:28:01
Message: <4bac53f1@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> >   In this particular case the latter situation might even be better, in fact.

> I can't think of any downside, given that the medium is R/O.

  I can think of one: If you copy the contents somewhere else, the files
will be duplicated. With soft links they won't (at least if you use the
proper type of copying).

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.