Giter Site home page Giter Site logo

easy-copy's People

Contributors

scrouthtv avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

easy-copy's Issues

Improve user friendliness

Code Cleanup

  • Remove the dependency to viper
  • Modular compilation support
  • All user communication (e. g. fmt) should be in ui.go

"OPERATION"???

As of today, this is the entirety of what the --help output says:

EasyCopy v1.0.0

Usage:
  ec OPERATION [options] source target
  ec OPERATION [options] source ... directory
  ec --help
  ec --version

These options are supported:
  -f, --force        overwrite existing files without asking 
  -i, --interactive  ask before overwriting a file 
  -n, --no-clobber   skip existing files 

      --no-config    don't read any config file 
  -V, --verbose      verbose mode 
  -q, --quiet        quiet mode 
      --color=WHEN   whether to colorize the output.
                     WHEN can be 'always', 'auto' (default) or 'never' 

  -h, --help         print this help and exit 
  -v, --version      print version information and exit 

This is free software licensed under the MIT License.
You are welcome to redistribute it under certain conditions,
refer to the license file that is distributed with this software.

Extensive documentation can be accessed through the manpages.

It doesn't list the available "OPERATION"s, and as an Arch Linux user I am out of luck, because the PKGBUILD for this program in AUR (mentioned in the README, which suggests that it might be officially-ish supported) doesn't bundle the manpages in the package (man ec shows help for unrelated openssl ec command).

I think you should do one of the following:

  • list supported OPERATIONs in the --help output,
  • list supported OPERATIONs in the error message shown upon invoking ec without specifying an operation
  • list supported OPERATIONs in the README
  • add --list-operations flag or something like that, and mention it in the output of --help and/or the error message

Custom features

  • After --help or similar is called, following arguments are ignored
  • options to ignore empty directories
  • retry reading a file 3 times if an error occures
  • timeout if less than 8 bytes have been transferred in 10 seconds
  • when asking for overwriting a file, skip this file for now and start a different one in the background
  • open a conflicting file in diff / $EDITOR
  • default perms
  • don't wait for enter in overwrite dialog
  • create sample config file only if ran with --help option
  • skip & delete source

Overwriting

  • basic overwriting
  • delete link before recreating

Reflinking support on mac os

Reflink support has been introduced in 173e106. Currently, reflinks are only supported for basic files (not links) on Unix.

Does mac os / darwin have reflink support too? (Call for testers)

Windows Support

  • Config files in Windows paths
  • Support for color codes in third-party console emulators
  • Testing (speed, Windows 7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.