Skip to content

Demo

Latest

Choose a tag to compare

@Kajmix Kajmix released this 27 Mar 17:36
· 1 commit to main since this release
e0f62ec

FILEFETCH DEMO

Requires Linux [base], shell, bash — should work on most distributions [tested on Arch Linux].

  1. Download the filefetch demo repository.
  2. Unzip it.
  3. (Optional, because on my other device with mint linux it worked even without chmod) In the terminal run chmod +x ./filefetch.sh — makes the script executable.
  4. Test commands:
    • ./filefetch.sh test_data/ — displays directory info
    • ./filefetch.sh test_data/text.txt — displays text file info
    • ./filefetch.sh test_data/picture.png — displays picture info
    • ./filefetch.sh — displays error
  5. (Optional) Add to PATH for global use:
    • sudo cp ./filefetch.sh /usr/local/bin/filefetch
      After this, simply type filefetch [path].