bash - rsync symlinks to php files -


i'm trying rsync website server, while preserving symlinks. have reade documentation , should trick

rsync -vra --links 

except 1 problem: doesn't copy symlinks not directed folder, file (.php in case, don't think important). breaks.

this link works:

htdocs/content/uploads -> /data/sharedstorage/uploads 

this link gets skipped

htdocs/content/config.php -> /data/sharedstorage/config.php 

does know how can fix this?

p.s: want keep symlinks, don't want copy files original symlink links to.

it seems transfer them symlinks. feedback rsync gives doesn't recognise symlinks. because have extension. , see files ...

so problem not problem after all. more "bug" within verbose function in rsync


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -