fcopy

command module
v0.0.0-...-a6fbdbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 13 Imported by: 0

README

FCOPY

fcopy copies files even if they are using by other processes and/or the destination directories are write-protected by not administrators.

./image.png

fcopy SRC... DST

If fcopy fails to copy the first time, it tries again with these method

  • ERROR: The process cannot access the file because it is being used by another process.
    • If DST is used by another process, fcopy tries to rename busy DST to DST-YYYYMMDD_hhmmss and retry copying.
  • ERROR: Access is denied.
    • If DST is the directory which not-administrator can not write (for example, C:\Program Files) , fcopy tries to show User-Account-Control dialog and run itself as Administrator.

Install

Download the binary package from Releases and extract the executable.

for scoop-installer
scoop install https://raw.githubusercontent.com/hymkor/fcopy/master/fcopy.json

or

scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install fcopy

Release Notes

0.2.0
  • Fix: fail when the destinate ends with backslash.
  • Do not copy if the destinate file is same as source one.
0.1.0
  • first release.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL