Skip to content

Instantly share code, notes, and snippets.

@m1l
Last active November 16, 2024 15:43
Show Gist options
  • Save m1l/065e7489b2f80574c918c99bf40fb6db to your computer and use it in GitHub Desktop.
Save m1l/065e7489b2f80574c918c99bf40fb6db to your computer and use it in GitHub Desktop.

Taskmaster is a OneCommander utility to replace Explorer dialogs for file operations.

It uses Windows native APIs for Copy/Move operations and not hacks like some other copy/move replacements to speed-up operations. That means it won't break any speed records but it is as reliable as Explorer's operations.

Improvements over Explorer dialogs:

  • Ability to copy deep folder structures longer than 255 characters
  • Copied files and folders keep Created and Modified dates (Explorer creates folders on copy with a new date, ruining backups)
  • (Soon) Same theme/style as OC (including Dark theme that Explorer dialogs don't yet have)
  • (Soon) Prompts only once for elevation (Admin)
  • Ability to set maximum parallel (concurrent) tasks. Set to 1 for long backup operations to prevent fragmentation on mechanical disks
  • Ability to pre-set file conflict resolution (you are creating an overnight backup and don't want to come back the next day to discover that it stopped on the first conflict after 2 minutes)
  • Additional conflict resolution: replace all older files (skip if same date)
  • (Soon) Copy folder structure option
  • (Soon) Verify all copy operations (hash compare on both source and destination)
  • Ability to select a completed operation and retry failed tasks only
  • Ability to select a completed operation and undo (reverse operation - will work only in case items were not overwritten, as nothing can undo overwriting a file except a manual restore from your own backups)
  • (Soon) Save queue to run another time
  • (Soon) Export queue as batch file
  • Runs in a separate process not tied to lifecycle of the program and won't fail if Explorer crashes

Known limitations:

  • Cannot update OC thumbnail database or color tags for new paths as currently is it not running in OC process (planned to integrate when it is ready)
  • Doesn't work with legacy file operations and virtual data sources (copy from MTP device like phones, copy from virtual desktop, drop from other virtual file source). Use Explorer dialogs in those cases
  • Doesn't work yet for operations requiring elevation (when UAC prompts for admin permissions)

Important:

Taskmaster is released on February 28th as BETA version. It shouldn't be used for important files - only for testing at this time.

It passed many test scenarios but there is always a chance of unforeseen circumstances. Please report any issues.

Safeguards in place:

  • Uses only Windows APIs to be as reliable as Explorer's own operations.
  • Move operations are Copy-then-Delete in case file transfer breaks, the source data will not be lost.
  • Operations are handled by different threads so freezing on one wouldn't affect file transfers on other threads.
  • Program prevents from being closed in the middle of an operation.
  • No traslation files for other languages

Use at own risk - Author will not be held liable in case of data loss.

@Zhy54
Copy link

Zhy54 commented Nov 16, 2024

Does TaskmasterBeta need to be translated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment