3 ms·
You almost never need to use "*". Use ".", or go up a dir and type the name of the dir.
by 0x0 6y ago
You almost never need to use "*". Use ".", or go up a dir and type the name of the dir.
- mixmastamyk 6y agoYes thanks. I thought running rsync with a "*" looked odd, but didn't completely understand why until now.
- mindslight 6y agoFunnily enough, rsync is one of the commands for which you might be more tempted to use * instead of going up a directory, because the relative path names go over the wire.
- em-bee 6y agobesides ./* i also like to use star.ext or even a* b* c* depending on the contents of the directory. rsync also used the local/only/path/./local/and/remote/path convention where the path before the /./ is not sent to the remote side