Skip to content

Clean up dotfiles and others on external FAT32-formatted USB drives.

License

Notifications You must be signed in to change notification settings

tomshafer/cleanusb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Up A USB Thumb Drive

Honda's audio system is awfully brittle against macOS metadata: Just the presence of dotfiles seems to prevent the audio system from recognizing and playing music from a USB drive. This script/package provides a script cleanusb that removes the stuff that was confusing my car's audio engine.

Specifically, the tool:

  • Removes LOST.DIR
  • Removes .Spotlight-V100 (NOTE: This requires sudo)
  • Applies dot_clean to deal with macOS-native resources.
  • Removes additional dotfiles and directories, like .DS_Store, .fseventsdb/, et al.
  • Organizes the music into an Album / Artist directory structure.

Installation

$ git clone
pip install .

The script requires Python 3.10+, but only because that's what I'm using at the moment. It could certainly be pushed down a few versions.

Development

The project uses Poetry, so just poetry install to get started.

About

Clean up dotfiles and others on external FAT32-formatted USB drives.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages