Rockbox Development > Feature Ideas

SOLVED: Option in Database to ignore folders whose name starts with a dot.

(1/1)

davespagnol:
As a Linux user, I didn't realise that when I deleted some music files, they actually went into a folder on my SDHC card called ".Trash-$1000" or similar. All of a sudden, the database was showing 2 or 3 copies of each song in an Album. Obviously the excess files were still taking up space on the SDHC card, and I'd have had to deal with their presence eventually, but it might be an idea if the Database can be set to ignore dot folders.

Thanks!

cereal_killer:
Run the disktidy plugin to remove those files.

speachy:

--- Quote from: davespagnol on April 25, 2020, 11:12:30 PM ---As a Linux user, I didn't realise that when I deleted some music files, they actually went into a folder on my SDHC card called ".Trash$1000" or similar. All of a sudden, the database was showing 2 or 3 copies of each song in an Album. Obviously the excess files were still taking up space on the SDHC card, and I'd have had to deal with their presence eventually, but it might be an idea if the Database can be set to ignore dot folders.

--- End quote ---

The already-implemented solution is to create a file called database.ignore in any folder you don't want.  Granted, I don't know how that might interact with the trash bin logic on the system that created that folder to begin with.

davespagnol:

--- Quote from: speachy on April 29, 2020, 02:01:40 PM ---
The already-implemented solution is to create a file called database.ignore in any folder you don't want.  Granted, I don't know how that might interact with the trash bin logic on the system that created that folder to begin with.

--- End quote ---

Every time you empty the trash the file database.ignore will be deleted. But it's OK, I created the file .Trash-$1000 and now "Move to Wastebin" doesn't work on the SDHC card, and I can only fully Delete unwanted files on it. That will do for now.

Navigation

[0] Message Index

Go to full version