neils-dev commented on PR #4246: URL: https://github.com/apache/ozone/pull/4246#issuecomment-1513638898
@ChenSammi thanks. With the example you mentioned, are you using a trailing slash with the command ie. `rm -R -f path_to_symlink_with_slash/` with trailing slash? > 'rm -R ' in Linux on a symbolic link to a directory. It looks like that not only the files under the source directory are deleted, symbolic link is also deleted. That behavior looks to be supported - delete contents of src directory leaving symlink intact. $ rm -R -f ~/work/tmp/tmp2/ $ ls -alt ~/work/tmp lrwxrwxrwx 1 user user 7 Apr 18 12:13 tmp2 -> ../tmp1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
