Clearing Content
The podkit device clear command removes content from an iPod without recreating the database. Use this when you want to remove tracks but keep the iPod database intact.
Basic Usage
# Clear all content from the default devicepodkit device clear
# Clear a specific devicepodkit device clear classicClearing Specific Content Types
You can target specific content types:
# Clear only music trackspodkit device clear --type music
# Clear only video contentpodkit device clear --type video
# Clear all content (default)podkit device clear --type all| Type | What Gets Removed |
|---|---|
music | Audio tracks and associated artwork |
video | Video files |
all | All tracks and media files |
Previewing with Dry Run
Preview what would be removed before committing:
podkit device clear --dry-runThis lists the tracks that would be deleted without actually removing anything.
Skipping Confirmation
By default, podkit asks for confirmation before clearing. To skip the prompt (useful for scripts):
podkit device clear --confirmClear vs Reset
device clear | device reset | |
|---|---|---|
| Removes tracks | Yes | Yes |
| Recreates database | No | Yes |
| Preserves database settings | Yes | No |
| Use when | Removing content | Database is corrupted or you want a fresh start |
If you just want to remove tracks and re-sync, use clear. If the iPod database is in a bad state, use reset instead.
See Also
- Resetting a Device for recreating the database
- Managing Devices for device configuration