Dedicated USB drive base directory?

Hi,

Is it possible to set a base dir for everything that gets installed to the USB drive when setting it up as dedicated drive?
Currently I have:
\

  • Books
  • Music
  • Pictures
  • Videos

But when installing some software I get something like:


  • Books
  • downloads
  • Music
  • Pictures
  • pydio_data
  • Videos
  • .swapfile
  • DietPi_OpenVPN_Client.ovpn

It would be nice to have it setup for example like:


  • .dietpi
    • downloads
    • pydio_data
    • .swapfile
    • DietPi_OpenVPN_Client.ovpn
  • Books
  • Music
  • Pictures
  • Videos

Cheers

Mattie

Hi Mattie,

This is excellent feedback.
To change the target paths, you would need to modify the config files for each program.

If you could let me know which programs you would like to change the paths for, I will assist you.

Hi Fourdee,

That is ok, I can probably manage those myself.
I was just wondering if i could set a generic basepath, that is used in the dietpi-software install script.
Perhaps using the functionality that changes between SD and USB installs, add a subfolder to that, instead of only the mounted root.

Is there no way to use dietpi_automation to somehow append something to the $TARGET_DIRECTORY or $HOME variable?

Cheers,
Mattie

Not at the moment as the paths are hard coded into dietpi-software based on SD or USB setup. But I will look into it. Having a customizeable path could be handy:

Git Ticket: https://github.com/Fourdee/DietPi/issues/198

Super, tnx!