]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/hide
.ssh/config.epic: Better handling for non-fully-qualified hostnames
[dotfiles.git] / bin / hide
1 #!/bin/sh
2 # hide file by putting a dot in front
3 # usage: hide FILE [FILE]...
4 set -e
5 for f in "$@"
6 do
7 mv -v "$f" $(dirname "$f")/.$(basename "$f")
8 done