]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/hide
bin/ipaddr: Size column based on max if-name length
[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