|
|
#1 |
|
Super Kustomer
|
outputting file/folder list to a file
HEy ppl.
I have a hard drive that has my complete music collection on in digital format. PRoblem now though is That I want to create a database of it all so I know what albums I have and what songs are on them. Now to my question. Can you let me know how to output the file structure to a text file?
__________________
|
|
|
|
|
|
#2 |
|
Indian Name: Rants Often
Join Date: Nov 2002
Location: Leicester
Posts: 3,944
|
windows: dir > list.txt
unix: ls > list.txt ls -r for recursive.
__________________
Do not advise somebody who is looking for advice to poo in anything. - Thomas@Kustom In Soviet Russia signature edits Forthy! ...and I love Forthy Last edited by shifty.ricky; 18-05-2006 at 22:32. |
|
|
|
|
|
#3 |
|
Registered Trader
Join Date: Dec 2003
Location: Newmachar
Posts: 1,490
|
Powerdesk will let you copy the names of all the files in a directory and let you paste them into Notepad.
A lot of PC mags have the freeware version as well.
__________________
Main: Gigabyte 965P-DS4 - E4400 @ 3.0GHz - 2GB Ballistix PC6400 - 2 x 250GB Samsung - X1950XT Backup: Asrock 939 DS2 - Opt 146 @ 2.8GHz - 1GB Adata PC3700 - 2 x 120GB Samsung - X800GTO˛ |
|
|
|
|
|
#4 | |
|
Super Kustomer
|
Quote:
Yeah but that will only do the top level. I want the subfolders and the files in the subfolders.
__________________
|
|
|
|
|
|
|
#5 | |
|
Indian Name: Rants Often
Join Date: Nov 2002
Location: Leicester
Posts: 3,944
|
Quote:
__________________
Do not advise somebody who is looking for advice to poo in anything. - Thomas@Kustom In Soviet Russia signature edits Forthy! ...and I love Forthy |
|
|
|
|
|
|
#6 | |
|
Oscillating wildly!
Join Date: Apr 2003
Location: Kent (UK)
Posts: 2,343
|
Quote:
__________________
"You lock the door and throw away the key, there's someone in my head, but it's not me" ...and I love Forthy |
|
|
|
|
|
|
#7 |
|
Super Kustomer
|
someone on another forum suggested dir /s
Problem is I want the output so I can then import it to a database. FOrmat I want is Artist , album , track which is the way the drive is laid out. I`ll check out cygwin
__________________
|
|
|
|
|
|
#8 |
|
Indian Name: Rants Often
Join Date: Nov 2002
Location: Leicester
Posts: 3,944
|
Why not check out something like collectorz.com (CD Collector) or one of the free ones out there.
__________________
Do not advise somebody who is looking for advice to poo in anything. - Thomas@Kustom In Soviet Russia signature edits Forthy! ...and I love Forthy |
|
|
|
|
|
#9 |
|
Super Kustomer
|
Thing is I`ve already got all the cds on my pc and it took over 3 days so i`m loathe to go through it all again.
Once I can get the file list pulled from the drive I can manipulate it just how I want
__________________
|
|
|
|
|
|
#10 |
|
Indian Name: Rants Often
Join Date: Nov 2002
Location: Leicester
Posts: 3,944
|
The scan the HDD for .mp3 files and produce a list of them. You dont have to import them all again from CD.
__________________
Do not advise somebody who is looking for advice to poo in anything. - Thomas@Kustom In Soviet Russia signature edits Forthy! ...and I love Forthy |
|
|
|
|
|
#11 |
|
Super Kustomer
|
See theres the other problem i`m using .flac
__________________
|
|
|
|
|
|
#12 |
|
Oscillating wildly!
Join Date: Apr 2003
Location: Kent (UK)
Posts: 2,343
|
__________________
"You lock the door and throw away the key, there's someone in my head, but it's not me" ...and I love Forthy |
|
|
|
|
|
#13 |
|
Reincarnated User
Join Date: Feb 2005
Posts: 1,078
|
Use the tree command.
__________________
Workstation: 4200 X2, 2GB Crucial, Asus A8N Premium, XFX 8600GT, 150GB Raptor, 320+250GB, Audigy 2ZS, Lian Li PC71, x86-64 Gentoo & WinXP, dual 20" LCDs Media server: E6300 C2D, 4GB Crucial, Gigabyte 965G-DS3, 74GB Raptor, 2.4TB LVM, Nova-T 500 + Nova-T, Audigy, MythTV on Gentoo, Lian Li PC65, 20" LCD Backup Server: Athlon 1700, Tyan MPX, 3TB 3ware RAID1 LVM, Debian, 4U Rackmount Media Box: AMD64 3500, 1GB, Asus A8NVM CSM, 120GB TV buffer, Nova-T, MythTV, Gentoo |
|
|
|
|
|
#14 |
|
Super Kustomer
|
I`ve tried tree and whilst it does output the whole structure I was hoping it to be in the format
Folder > Sub-folder > File Folder > Sub-folder > File Folder > Sub-folder > File With tree I get Folder sub folder file file I`ll keep playing about with it and see how I go
__________________
|
|
|
|
|
|
#15 |
|
Insert witty comment here
Join Date: Mar 2005
Location: Belfast
Posts: 1,341
|
What OS are you running? I have an wee C# app i wrote to do that, but its .net 2
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|