Mon Feb 17, 2020 6:31 pm
rickticktock wrote: ↑Mon Feb 17, 2020 4:32 pm
I say chaps,
Is it possible to choose where downloads are put by default? I should like to use a USB 1TB hard drive for this purpose, leaving the MicroSD just for programs and OS.
TTFN
Yep. Stuff to research:
- Which filesystem to use, linux vs windows vs MacOS filesystems.
- Mounting external drives: how, what, where, and what options to use.
- Linux file/directory permissions and how they're mapped from non-linux filesystems.
- Symbolic links
There are a number of ways to acheive what you want, one approach would be to mount the external drive, create a myuser/downloads directory on it, copy the contents of ~myuser/downloads to it, remove ~myuser/downloads, symlink path_to_external_drive/myuser/downloads to ~myuser/downloads. Unlike with the "tell the program where to download to approach already suggested" this would put anything downloaded to the default directory onto the external HDD without you having to explictly tell the program where to put it.
Another approach would be to move your user's entire home directory and it's contents onto the external HDD. Going this way you also need to research "usermod" and really should format the HDD in ext4 as you'll have all sorts of problems with permissions and security with non-linux native filesystems.
Attempts to contact me outside of these forums will be ignored unless signed in triplicate, sent in, sent back, queried, lost, found, subjected to public enquiry, lost again, and finally buried in soft peat for three months and recycled as firelighters