jberrend / Kopier

Simple command line text file copier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kopier

Simple command line text file copier (And my first Rust program!)

Compiling

Simply run cargo build to compile and generate an executable at target/debug/kopier.

To run simply use the executable name followed by the path of the source file followed by the path of the destination file.

For example (from within the project directory): target/debug/kopier ~/test.txt /tmp/dest.txt.

To call it from anywhere place it in your bin folder.

NOTE

Only works on .txt files with UTF-8 encoding. Other files will return an error.

About

Simple command line text file copier


Languages

Language:Rust 100.0%