[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I'm looking for a way to generate file lists that include

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 5

I'm looking for a way to generate file lists that include subdirectories. Basically something like pic related. I plan on using it for a site that lists mods for hentai games and I want people to be able to use it to tell if they're missing a file. Tried cmd's dir > filename.txt command but it doesn't include nearly enough information.
>>
>>274260
What do you want that cmd's dir doesn't do?
>>
>>274260
try
ls -r -sh *
>>
File: 1473556064103.jpg (268KB, 900x675px)
1473556064103.jpg
268KB, 900x675px
>>274262
List subdirectories and the files within them. Just something in a really clean format that I can copy and paste onto a site.

Like this:

\gamemod\models\model.mod
\gamemod\texture\texture.tex
\gamemod\menu\menu.menu
moditem.mod
readme.txt

cmd's dir command only outputs topmost directory IIRC.

>>274264
Thank you, but although I have Windows and Linux installed I don't believe Linux would be able to read them on account of using a different file system. I know I get errors trying to read files on some Windows drives in Linux.
>>
>>274274
Perhaps try
dir /s/b/o:n >filename.txt
>>
File: 1474391748648.jpg (575KB, 663x692px) Image search: [Google]
1474391748648.jpg
575KB, 663x692px
>>274277
Holy smokes anon! That did the trick! Thank you so much!

Were I to acknowledge you, what fake name should I use?
>>
>>274285
No real need to, just anon's fine.
Glad I helped
>>
File: 1469660008921.png (151KB, 233x375px) Image search: [Google]
1469660008921.png
151KB, 233x375px
>>274286
Okay, you got it! I won't forget this anon!
>>
File: image_thumb.png (18KB, 425x270px) Image search: [Google]
image_thumb.png
18KB, 425x270px
>>274274
No sure if this is what you want but you could do:

tree directorypath /f /a > directorypath/output.txt

Should list the output similar to pic.
>>
>>274297
Thank you though that's more formatting than I'd like. I'll use dir with the arguments anon posted.
Thread posts: 10
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.