Skip to content
Snippets Groups Projects
Commit d501eb1b authored by nimrod's avatar nimrod
Browse files

`bak` shell function.

Create local backups of files.
parent 1f80e029
No related branches found
No related tags found
No related merge requests found
......@@ -203,6 +203,13 @@ ansible_all () {
popd
}
bak () {
for x in "$@"
do
cp --preserve=all --reflink=auto "$x" "${x}~"
done
}
black8() {
black "$@" && flake8 "$@"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment