0
Before you downvote, I have read the following solutions:
- How do I copy file named starting with a dot?
- How to copy with
cp
to include hidden files and hidden directories and their contents? - Linux / Unix: scp Copy All Hidden Dot Files on nixCraft.
All the solutions involve copying all the files not a single file. Now, i tried various things but, it doesn't work.
Also, i'm using zsh so don't have shopt
This should be simple, i am not stupid but, after wasting all night, i finally ask here..
Funny thing is i do get an ouptput saying it has successfully copied the file but, there is no file at destination.
cmd: cp -av ~/.zshrc /home/dobi/aaa/bckup/dotfiles
Output: '/home/xyz/.zshrc' -> '/home/xyz/aaa/bckup/dotfiles/.zshrc'
OS: mint 19 Tara
Shell: zsh
Thank you
OMFG! I don't believe this! I even had
watch
going on in that folder and since i could see the update i was shocked to say the least! Thanks man! – jodobear – 2020-01-25T00:21:35.763