zsh script to correct OneDrive forbidden characters
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 02-08-2024 02:40 PM
Greetings programs!
If your org adopts OneDrive for managing user Desktop/Documents, you may run into issues of filename compatibility. I’ve written a couple scripts which replace forbidden characters with underscores (_). This approach uses zsh file globbing and the zmv function. Also included are updating file dates to align with issues with the FAT file system and Windows Explorer.
https://github.com/atlauren/OneDriveKFM
Enjoy! PRs welcome.
Reply
0 REPLIES 0
