Create CD catalogue using Shell Script
I am making a record of all the files on a CD. All the files on the CD should be listed in a text file using this format:
CD Volume Name;Path and name of file;Modification Time;Size in bytes;Comment;<Newline>
The result should look like this:
Adios;/adk/Makefile;24/02/04 13:03:36;20865;Adios files on CDROM;
....
My head is spinning and I am not sure where to start.
I have used the 'find' utility to print the ;Path and name of file; to the text file. The problem is appending the ;Modification Time; Size in bytes; and so on. To make it even more complicated; The user should be allowed to add a comment to each record.
I greatly appreciate any help or comments!
- Helene
|