martijnvanbrummelen / nwipe

nwipe secure disk eraser
GNU General Public License v2.0
631 stars 71 forks source link

add option "PDFreportpath" into nwipe.conf for easier management of exports [Feature Request/Enhancement] #537

Open Adammatthiesen opened 7 months ago

Adammatthiesen commented 7 months ago

I know there is the trailing command --PDFreportpath, but is there an option to add to the config located in /etc/nwipe/nwipe.conf to do the same?

PartialVolume commented 7 months ago

Do you mean to change the the location of nwipe.conf? If so no.

If you mean options on the kernel command line that allow you to put entries into nwipe.conf then again no.

To add or edit entries in nwipe.conf you have two options. Use the c (config) key from the drive selection window to show the config menu where do can edit various PDF related data which are then saved to USB or a FTP server and restored on next boot. Alternatively edit the nwipe.conf with an editor, the contents will persist between reboots as long as you have a USB flash drive plugged in or a FTP server configured. Regarding saving to a FTP server, I'm currently working on that code so the feature to save & restore nwipe.conf to FTP will be in the next release.

PartialVolume commented 7 months ago

There is a third option. Build ShredOS from source having changed the default entries in ..board/ShredOS/overlay/etc/nwipe/nwipe.conf

Adammatthiesen commented 7 months ago

i was specifically wondering the syntax to include a PDF path /path/to/where/i/want WITHIN the nwipe.conf for the PDF to go to on my local system so i dont have to fish for them everytime i launch the code. I couldnt find the reference to it outside of just as a command (i.e. ./nwipe --PDFreportpath=/path)

PartialVolume commented 7 months ago

Sorry my mistake, I mistakenly assumed this question was on the ShredOS GitHub page rather than nwipe.

At the moment you can't do that, but I can add that feature into nwipe.

Adammatthiesen commented 7 months ago

That is funny... ive been all over the place(on my system) and didnt even notice this chat at first... doing 100 things at once. its addicting, haha!

Im running your the newest update right now for displaying the PDF's on my website, due to the way my website is designed exporting to a folder is actually better for me than direct upload. You have a great project here. nice work! PLEASE KEEP IT UP!

I've Updated my title to better reflect what it should have from the beginning. sorry for the confusion... again, doing way to many things at the same time!