Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: rogueKlyntar on May 04, 2020, 09:53:51 PM

Title: Saving related files to created directories
Post by: rogueKlyntar on May 04, 2020, 09:53:51 PM
Would it be possible to make a feature for the iPod Rockbox that would make save new files in a created directory without having to move them yourself?

For example say I have three .sok (Sokoban game solution video files) files and I create a new directory called sokFiles, and move the .sok files to that folder. Currently I have to cut and paste any future .sok files into this new folder. I want to be able to simply create the directory, move all existing .sok files to it, and know that any future ones will automatically be saved in that directory as well.
Title: Re: Saving related files to created directories
Post by: Bilgus on May 05, 2020, 12:53:38 AM
best you could do is to manually run a script every once in a while that moved *.sok to /SokFiles

Automatically would never happen except maybe to run that script on startup
Title: Re: Saving related files to created directories
Post by: __builtin on May 05, 2020, 02:34:27 PM
This is a fairly trivial task if you can mount your ipod on a linux computer. Then just
Code: [Select]
mv *.sok sokFiles/