I have a remote playlist which I'd like to download, perform a simple search & replace, and save in a local path; the aforementioned steps should be executed on boot.
The first step is to download and edit the playlist. This can be accomplished with the following command:
which produce the expected file.
The second step is to perform the first step on every boot. I have created a /storage/.config/autostart.sh file with the following content:
However, all I got is an empty file, and I don't know why nor how to debug the command.
Any hint would be appreciated.