Skip to content

mel-yahy/gitfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

gitfiles

Download files and folders from a GitHub repo.

Usage

Go to the GitHub repo and locate the specific file or folder you want to download. Right-click the file or folder and copy its link. Then use gitfiles [file or folder URL] to download it.

Example:

# Download a file
gitfiles https://github.com/username/repo/blob/branch/path-to-file

# Download a folder
gitfiles https://github.com/username/repo/tree/branch/path-to-folder

Installation

# Clone the repo
git clone https://github.com/mel-yahy/gitfiles.git
cd gitfiles

# Make the script executable (if it's not already)
chmod u+x gitfiles.sh

# Move it to a directory included in your PATH, for example:
mv gitfiles.sh ~/.local/bin/gitfiles # NOTE: Ensure that ~/.local/bin is included in your PATH.

License

This project is licensed under the MIT License.

About

Download files and folders from a GitHub repo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages