I'm want to save a file to an external USB drive and would like to know the best way to do it.
At the moment the file is created and saved in the folder that I'm working in but I can't get it to land anywhere outside of that folder. The file is called settings.cfg so I have tried things along the lines of /home/pi/settings.cfg to put it elsewhere but no luck so far.
Any thoughts greatly appreciated.
Many thanks, James