tseward / FileChecker

FileChecker is a utility originally written by Bill Baer to check a folder path against SharePoint Online/OneDrive file restrictions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileChecker

An updated version of Bill Baer's FileChecker application.

  • .NET 5.0 Console application which should run on any platform
  • Dropped WinForms for cross-platform compatibility
  • Updated rules for 400 character filename and 250GB file size maximums
  • Added a rule when the path + filename is greater equal or greater than to 400 characters

Usage

FileChecker --path /srv/share [--legacy] [--append]

  • --path is the root folder where you want to start the scan
  • --legacy adds additional checks for '#' and '%'. This is useful if the tenant admin has disallowed these characters via Set-SPOTenant -SpecialCharactersStateInFileFolderNames. See Set-SPOTenant.
  • --append will not overwrite the CSV output but rather append to the existing CSV. It will create a new file if one does not exist.

Requirements

Platform Support

  • macOS (Intel)
  • Windows 10 (x64)
  • Will probably work on all .NET 5.0 supported platforms

About

FileChecker is a utility originally written by Bill Baer to check a folder path against SharePoint Online/OneDrive file restrictions.

License:MIT License


Languages

Language:C# 96.7%Language:Shell 3.3%