Robert 2 months ago
parent 3010c8ebf9
commit 6746a30563
  1. 2
      .aliases.d/tar.sh
  2. 2
      .aliases.d/wordPress.sh
  3. 23
      .data/user_def_excludes.ini

@ -79,7 +79,7 @@ bk() {
local exclude_arg=(--exclude="./$(basename "$myoutfile")")
(( verbose )) && echo "Making tar file $outfile"
tar -czf "$myoutfile" "${exclude_arg[@]}" "$@"
tar --exclude-vcs --exclude-from="$HOME/.data/user_def_excludes.ini" -czf "$myoutfile" "${exclude_arg[@]}" "$@"
}
function extract {

@ -0,0 +1,2 @@
# Find PO files, process each with msgfmt and rename the result to MO
alias po2mo='for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file ; done'

@ -0,0 +1,23 @@
*~
*.sql
*.zip
*.xz
*.tgz
*.gz
*.tar*
*.log
*.tmp
*.swp
*.lock
**/.git/
**/node_modules/
**/vendor/
**/nbproject/
**/logs/
**/tmp*/
**/cache*/
**/Cache*/
**/lost+found*/
**/Trash*/
**/trash*/
**/.gvfs/
Loading…
Cancel
Save