xfiles is a collection of command-line utilities written in Go for managing Microsoft SharePoint document libraries through Microsoft Graph. It introduces familiar Unix-style commands for interacting with SharePoint and OneDrive for work or school. The xftp utility provides interactive file navigation, uploading, downloading, and directory management. The xcp command enables direct file transfers between local storage and remote libraries. The xsync utility synchronizes directory structures while transferring only modified content. Additional tools include xfind for locating files and xtree for displaying hierarchical directory structures. Standard stream compatibility facilitates integration with shell scripts, automated workflows, and external applications.
Features
- Command-line SharePoint and OneDrive file management through Microsoft Graph integration
- Interactive FTP-style sessions with remote file navigation and management commands
- Direct file uploading and downloading through SCP-inspired command syntax
- Incremental directory synchronization that transfers only modified content
- Remote file searching and hierarchical directory visualization through dedicated utilities
- Standard input and output integration for scripting and automated file management