JanneMattila / onedrive-tool

Scan your personal OneDrive from content and identify duplicates. Check if local files are already uploaded to OneDrive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OneDrive tool

CI License: MIT

Background

You might end up into situation that you have filled your personal OneDrive with many duplicate files. This can quite easily happen in you take a lot of pictures with your different cameras and then upload then over time to different folders. This can eat up your quota quite easily. This tool tries to make it easier to find duplicates and then provide means to clean them up.

You can also have backup drives or USB sticks and you might not be aware if all those files have been successfully uploaded to OneDrive.

OneDrive tool tries to solve the above problems.

Usage

Usage instructions:

    ___             ____       _              _              _
   / _ \ _ __   ___|  _ \ _ __(_)_   _____   | |_ ___   ___ | |
  | | | | '_ \ / _ \ | | | '__| \ \ / / _ \  | __/ _ \ / _ \| |
  | |_| | | | |  __/ |_| | |  | |\ V /  __/  | || (_) | (_) | |
  \___ /|_| |_|\___|____/|_|  |_| \_/ \___|   \__\___/ \___/|_|

  More information can be found here:
  https://github.com/JanneMattila/onedrive-tool

Usage:
  OneDriveTool [options]

Options:
  -e, --export                         Export OneDrive metadata
  -a, --analyze                        Analyze OneDrive export file
  -s, --scan <scan>                    Scan local folder recursively
  -f, --onedrive-file <onedrive-file>  OneDrive CSV file
  -sf, --scan-file <scan-file>         Scan result output file
  --logging <debug|info|trace>         Logging verbosity [default: info]
  --version                            Show version information
  -?, -h, --help                       Show help and usage information

To export your OneDrive metadata to CSV:

OneDriveTool --export --onedrive-file onedrive-export.csv

Analyze exported CSV file:

OneDriveTool --analyze --onedrive-file onedrive-export.csv

Scan local folder to see if those files are already in OneDrive:

OneDriveTool --scan D:\\OneDrive --scan-file backup-harddrive1.csv --onedrive-file onedrive-export.csv

About

Scan your personal OneDrive from content and identify duplicates. Check if local files are already uploaded to OneDrive.

License:MIT License


Languages

Language:C# 81.6%Language:PowerShell 18.4%