I was very upset to see Daedalus downloading the chainblock on my C hardrive, plus writing millions of 1kB files can make a lot of noise.
It seems Daedalus need very few things to work anywhere, so I hope they will let us choose where everything goes in a future version.
First, connect your USB Flash Drive/SD Card/folder on whatever hard drive you want and let’s call it F:
Open a windows explorer, write down %AppData% in the adress bar, that should redirect you to somewhere like “C:\Users\UserName\AppData\Roaming”.
If you used Daedalus at least once, there should be a folder named Daedalus, copy it to F:, and rename it “DaedalusAppData”.
This can be VERY long if you downloaded the blockchain.
You can add a text file like USB.txt in the folder if you want to recognize easily your new folder.
You can delete the original folder or rename to something else (better safe than sorry)
Go where you installed the application, like C:\Program Files\Daedalus and copy the Daedalus folder to F:
You can also delete/rename the original folder.
In F:, create a file OpenDaedalus.bat, edit it with notepad :
Don’t try to run it yet.
Create a new folder “Scripts” in F:, inside create 3 new bat files :
mklink /D %AppData%\Daedalus %~dp0\..\DaedalusAppData
Now what do you do on a new PC ?
Script > OpenAppDataDirectory.bat opens the AppData Daedalus folder, that let you know if there’s already a wallet, or if the CreateAppDataLink did work or not.
Script > CreateAppDataLink.bat will create a link from Appdata to your folder. Draedalus thinks it access the normal AppData\Draedalus folder, but in fact it goes to your AppDataLink folder.
You may have to run it as admin (check with OpenAppDataDirectory)
Script > DeleteAppDataDirectory.bat delete the AppData Daedalus folder on the PC if you need to create a new link. You may have to run it as admin too.
OpenDaedalus.bat in the root opens the wallet.
I have a laptop which took a minute to find the flash drive the first time, looks like it was scanning the files and as there are a LOT of files it can takes a while…
If anyone has a more friendly way to do this, feel free to contribute !