Guest User

Untitled

a guest
Nov 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. sudo apt update
  2. sudo apt install nautilus-actions
  3.  
  4. ~$ cat "$HOME/.local/share/nautilus/scripts/Make Hard Link"
  5.  
  6. #!/bin/bash
  7.  
  8. if [ -f "${1}" ]
  9. then
  10. ln "$1" "Hard Link to $1"
  11. fi
  12.  
  13. SNAME="$HOME/.local/share/nautilus/scripts/Make Hard Link";
  14. printf '#!/bin/bashnnif [ -f "${1}" ]nthenntln "$1" "Hard Link to $1"nfin' |
  15. tee "$SNAME";
  16. chmod +x "$SNAME"
Add Comment
Please, Sign In to add comment