Add the bl command

bl stands for back-link.  Move a file to another place and add a link
back to the original position.  This is useful to move files or
directories across filesystems to free up space
master
Jacopo De Simoi 4 years ago
parent d1ebd50708
commit 7fd0c548fe
  1. 12
      zshrc.org

@ -206,6 +206,18 @@ setup-pi-webcam()
#+begin_src sh
autoload ifttt
#+end_src
- This is an helper for moving a file to some other place and adding
a link back to the original position. ~bl~ stands for backlink
BIG FAT WARNING: this needs to specify an actual file as a destination
(similar to ln) adding a directory would not work.
#+begin_src sh
lb()
{
mv $1 $2
ln -s $2 $1
}
#+end_src
*** konsole helpers :daily:
#+begin_src sh
function set-terminal-title() {

Loading…
Cancel
Save