Quantcast
Channel: User Kamil Maciorowski - Super User
Viewing all articles
Browse latest Browse all 837

Comment by Kamil Maciorowski on How to make Rsync newly write all file perms, ownership etc. only?

$
0
0
-name '*' always evaluates to true, AFAIK it can be used as a portable equivalent of non-portable -true of GNU find. -true and -false (or their equivalents) may be useful when building more complex logic (example), but here the logic is straightforward and -name '*' should be omitted as it serves no purpose whatsoever. Additionally 2000-01-01 and {} do not need to be quoted (but it's better to quote when it doesn't matter than not to quote when it matters). These peculiarities are harmless and sharing your solution was a good thing.

Viewing all articles
Browse latest Browse all 837

Trending Articles