Directory printer

63 views
Skip to first unread message

Holly Deakyne

unread,
May 15, 2025, 9:25:21 AMMay 15
to BitCurator Users
It looks like BC doesn't have a program that prints a tree of the directory, but it used to. Searching shows me people generally do this with a script through Powershell? Does anyone have one they could share that gets down into all the nesting? So far I just get one level down. Or it is inconsistent. I don't really know why it doesn't show all folders and files.

Or recommend a free program that does this. I used Karen's Directory Printer awhile ago, but the last update was 2020.

thanks,
Holly

Lee, Cal

unread,
May 15, 2025, 9:43:13 AMMay 15
to bitcurat...@googlegroups.com

Have you tried using the tree command (through the command-line terminal)?

 

- Cal

 

From: bitcurat...@googlegroups.com <bitcurat...@googlegroups.com> On Behalf Of Holly Deakyne
Sent: Thursday, May 15, 2025 9:25 AM
To: BitCurator Users <bitcurat...@googlegroups.com>
Subject: Directory printer

 

You don't often get email from paz...@gmail.com. Learn why this is important

--
You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/864a05d4-1428-48c3-8e7b-31f1e059a14bn%40googlegroups.com.

Holly Deakyne

unread,
May 15, 2025, 9:50:02 AMMay 15
to bitcurat...@googlegroups.com
I will, thanks. When Googling, I got much more complicated answers than that.

Holly

yongli z

unread,
May 19, 2025, 12:10:31 PMMay 19
to bitcurat...@googlegroups.com
Believe it or not, ask ChatGPT. It can write a Python script very quickly to print out this for you. :)

Yongli

--

Cynde Moya

unread,
May 20, 2025, 5:39:12 PMMay 20
to bitcurat...@googlegroups.com

Get-ChildItem "F:\KD-85" -Recurse -File | ForEach-Object {

    [PSCustomObject]@{

        FolderPath = $_.DirectoryName

        FileName   = $_.Name

        FullPath   = $_.FullName

        SizeBytes  = $_.Length

        Modified   = $_.LastWriteTime

    }

} | Export-Csv -Path "C:\TapeExports\KD-85_FileListing.csv" -NoTypeInformation -Encoding UTF8



ChatGPT gave me this one which worked pretty good. "F:\KD-85" is the pointer to your file location and name.


Reply all
Reply to author
Forward
0 new messages