💡 Tool: Reuse fclones cache across different machines/devices
**💡 Tool: Reuse fclones cache across different machines/devices**
Hey fclones community! 👋
**Problem:** When you have a large dataset on a NAS or network share and want to run fclones from different machines (Mac, Linux, Windows), the cache becomes unusable because device IDs change between systems.
**Solution:** I created a small tool that swaps device IDs in your fclones cache database, making it portable across machines.
**My use case:** I had a 60TB Synology NAS with 2x8TB external drives, plus 4x8TB external drives connected to my Mac. I needed to check for duplicates across all drives. I generated the cache on the Synology first, then moved it to my Mac and used this tool to update the device IDs. This let me compare the Mac external drives against the Synology storage without rebuilding the entire cache from scratch.
**Example use case:**
- Generate cache on your NAS or one machine
- Copy cache to another machine
- Run the tool to update device IDs
- Continue using the cache instead of rebuilding from scratch
**Usage:**
```sh
fclones_deviceid_swap ~/Library/Caches/fclones 96:905969702
```
**GitHub:** https://github.com/patrickwolf/fclones_deviceid_swap
Hope this helps others who are working with large datasets across multiple systems! Always backup your cache first. 🔒
0 条评论