filx

Crates.iofilx
lib.rsfilx
version0.1.2
sourcesrc
created_at2021-01-16 22:20:12.783166
updated_at2021-01-16 23:14:53.139102
descriptionA simple, fast file organization tool
homepage
repositoryhttps://github.com/Pradeep-selva/filx
max_upload_size
id342953
size5,805,179
Pradeep Selva (Pradeep-selva)

documentation

README

Filx

Your File Organization Tool

Organize your files neatly with one clean command


Demo

demo

Installation

  • Create a folder and inside the folder run,
wget https://raw.githubusercontent.com/Pradeep-selva/filx/master/filx
  • Give the "filx" binary file executable permissions using,
chmod +x filx
  • Add file to path. To add filx to your current shell run,
export PATH="$HOME/<your-folder>:$PATH"
  • To add file to path permanently, add the above line to your ~/.bash_profile or ~/.profile

(OR)

  • Run the following command
curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git Pradeep-selva/filx
  • Add the binary to your path.

(OR)

  • Install rust, rustup and cargo, using,
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Using cargo, install the filx crate, using,
cargo install filx

Usage

  • The following is the list of available commands, options and flags --
demo
  • The options are can be chained, which enables running some complex commands.

Ex: To add the date modified to the start of file names for rust files containing "filx" in their name

filx prepend-date --content filx --type rs

Ex: To move all rust files end with "filx" to a folder named "filx" and take backup of it.

filx suffix --content filx --type rs --variant backup

Built Using

License

MIT © Pradeep-selva

Commit count: 39

cargo fmt