Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Is there any way to configure specific filename exclusions in Disk Tidy?
« previous next »
  • Print
Pages: [1]

Author Topic: Is there any way to configure specific filename exclusions in Disk Tidy?  (Read 1559 times)

Offline iPodVT

  • Member
  • *
  • Posts: 467
Is there any way to configure specific filename exclusions in Disk Tidy?
« on: May 16, 2023, 05:05:56 PM »
I'm hoping to find a way to configure the Disk Tidy plugin so that it will delete all ._* files except not the file highlighted in the attached image and not the file immediately above it (named ._VolumeIcon.icns).  I read the wiki, searched the forum, and also searched the internet but didn't find anything.  I suspect there is no way to config this kind of exclusion, but I thought I would ask here in case there is a way.  Thanks.

* dump 230516-164656.png (19.28 kB, 320x240 - viewed 184 times.)
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Is there any way to configure specific filename exclusions in Disk Tidy?
« Reply #1 on: May 16, 2023, 11:08:45 PM »
Turns out I really only need to exclude (preserve) just that one file that is highlighted in the attached image, and so before I run Disk Tidy I can minimally alter that file's name just enough so that Disk Tidy will leave it alone.  Then I can restore the proper filename after Disk Tidy completes its cleaning.  But if there is a way that I can specify that one ._* file to be excluded from the cleaning operation, that would be so much faster and easier than having to edit the filename.  Using the virtual keyboard makes "hunt and peck" on a real keyboard seem like a supersonic operation...
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Is there any way to configure specific filename exclusions in Disk Tidy?
« Reply #2 on: May 21, 2023, 10:16:52 PM »
https://www.rockbox.org/wiki/PluginDiskTidy

Quote
Custom configuration

Add any custom folders or files to the bottom of the disktidy_custom.config file in the following format:

< Title >: no
file.ext: no
sub/folder/: no
file2.ext: no

so I think
Code: [Select]
/._*:noshould work for you
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Is there any way to configure specific filename exclusions in Disk Tidy?
« Reply #3 on: May 22, 2023, 12:09:43 AM »
Thanks very much for your reply and suggestion, but all of the ._ files in the root directory are still getting deleted.  In the Files to Clean screen I first click <NONE> to get rid of all of the green triangles.  Then under <MAC OSX> I click ._* to give it a green triangle.  Then at the bottom under <Other> I leave /._* turned off (no green triangle).  Does that all conform with what you were suggesting/thinking?
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Is there any way to configure specific filename exclusions in Disk Tidy?
« Reply #4 on: May 22, 2023, 12:49:08 AM »
I should add that I have gotten quite comfortable and even a bit adept at jockeying around on the virtual keyboard, so my workaround of keeping a renamed copy of the one ._ file that I don't want to get deleted is fast and easy.  I keep the renamed copy in an adjacent directory, and when necessary I copy and paste a new copy back into the root directory and then just delete the single camo character from the front end of the filename, and I've got my ._ file back in place.  So there's no need to spend any more time on trying to help me get Disk Tidy to do what I want.  But, of course, I am still curious to know...
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 467
Re: Is there any way to configure specific filename exclusions in Disk Tidy?
« Reply #5 on: May 22, 2023, 10:01:25 AM »
Being unable to walk away from this, I have tried many variations of entries under < Other > at the bottom of the custom config file.  Nothing seems to have any effect at all for me, whether adding items to get deleted or adding items to exclude from getting deleted.  I have no idea whether I'm using incorrect syntax for the entries I add to the custom config file, or I am incorrectly making seletions in the Files to Clean screen, or Disk Tidy is broken.

Could someone post an entry that they have added to the custom config file that has actually had an effect when the plugin gets run?  Thanks.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Is there any way to configure specific filename exclusions in Disk Tidy?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 22 queries.