LinuxDir2HTML icon indicating copy to clipboard operation
LinuxDir2HTML copied to clipboard

[Enhancement request] Option for incremental "snapshots" of multiple storage

Open guidomz opened this issue 1 year ago • 3 comments

LinuxDir2HTML is an appropriate tool for me to keep a record of all my external storage devices. It would be convenient though if I can keep them all in a single HTML page. It would even facilitate searching across different storage devices in a single instance.

One method prior to executing LinuxDir2HTML is to attach all my external storage devices at once using a multitude of usb hubs and symlinking them all under a single directory. This would be cumbersome for 12-15 devices. I can also use NAS but that would be overkill, not to mention I don't have that system, and so do most users, I think.

Perhaps add a feature and a corresponding argument to the commandline to take a snapshot of a storage device and append the result to an existing LinuxDir2HTML output?

guidomz avatar Apr 18 '24 05:04 guidomz

I use a script like this (just an example):

cd /path/to/where/I/want/these/files/to/be/saved ;

python3 /path/to/linuxdir2html.py /path/to/directory1 title_for_directory1 ;

python3 /path/to/linuxdir2html.py /path/to/directory2 "my collection of music" ;

python3 /path/to/linuxdir2html.py /path/to/directory3 directory3 ;

and so on.

I noticed If I use it in a big HDD with really big folders sometimes it can give inaccurate results, so I use it in a folder at a time. But this is for data hoarders like me.

maluvola avatar Apr 24 '24 12:04 maluvola

I use a script like this (just an example):

cd /path/to/where/I/want/these/files/to/be/saved ;

python3 /path/to/linuxdir2html.py /path/to/directory1 title_for_directory1 ;

python3 /path/to/linuxdir2html.py /path/to/directory2 "my collection of music" ;

python3 /path/to/linuxdir2html.py /path/to/directory3 directory3 ;

and so on.

I noticed If I use it in a big HDD with really big folders sometimes it can give inaccurate results, so I use it in a folder at a time. But this is for data hoarders like me.

Is this method going to save all the directory entries for /path/to/directory1, /path/to/directory2, /path/to/directory3 all in one html page as my original post explicitly indicated?

guidomz avatar Apr 25 '24 12:04 guidomz

Concatenating results into a single file is something I've also wondered about, myself. I think this concept makes good sense, but it will have to wait. This will be much more doable after #8 is finished.

I realize you mean to put them all in an existing .html file, not that you have all of your disks hooked up at once, too. Let's call this a TBD.

homeisfar avatar Feb 20 '25 03:02 homeisfar