Fixed issue with backup when used with directories

This commit is contained in:
Lucien Cartier-Tilet 2020-05-28 11:56:31 +02:00
parent 40f43c704a
commit 8bbd4403d4
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -206,7 +206,7 @@
source code here: source code here:
#+BEGIN_SRC fish #+BEGIN_SRC fish
#!/usr/bin/env fish #!/usr/bin/env fish
cp $argv[1] $argv[1].bak.(date +"%Y%m%d%H%M%S") cp -r $argv[1] $argv[1].bak.(date +"%Y%m%d%H%M%S")
#+END_SRC #+END_SRC
* ConnectWifi * ConnectWifi