You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
gitea 55951f6a1f + vimrc 2 years ago
..
quick * exclude ignore.sh on nerest examples script 2 years ago
.gitignore-example + deactivate plugins helper wp script 2 years ago
Dockerfile move upload max file size php config option nearby with post max size 2 years ago
README.md * update readme appropriate to new nerest examples script and describe ignore.sh use case 2 years ago
nerest-quick.sh * separate command in nerest quick to set executable bit on quick script *.sh files & check quick_dir exists before launch nerest script operations 2 years ago

README.md

Quick scripts

Create quick dir in your root project folder.

Place .gitignore file in that dir with these content:

*.sh

Copy needed helper scripts in that quick/ dir and create copies with .example extension for adding example-scripts to your project GIT.

You might need add worked execute script for create executable copies from examples.

Add nerest-quick.sh to you root project dir:

#!/bin/bash
QUICK_DIR=quick

cd $QUICK_DIR &&
find ./ -name "*.sh.example" -exec sh -c 'F={}; cp -u $F ${F%.example} && chmod +x ${F%.example}' \;

Ignore and nerest examples scripts

Use ignore.sh for adding special .gitignore files into ignored dirs (uploads, plugins)

Use nerest-examples.sh for one time creating *.sh.example files for adding to the git repository