Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADH-4065] Add CopyDirectory action to copy empty directories and preserve directories attributes #12

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

tigrulya-exe
Copy link
Member

  • Added dircopy action for transferring directories (without content) with preserving their attributes (owner, group, permissions). Attributes are transferred by default, this behaviour can be configured by providing required attributes in the -preserve option, same as for copy action.
  • Supported copy of empty directories in sync action.
  • Fixed bug with non preserving of parent directories' attributes during sync.
  • Refactored CopyScheduler a bit to make it more readable and left several todos for potential bugs and optimisation points.

@tigrulya-exe tigrulya-exe self-assigned this Feb 14, 2024
@Asmoday Asmoday merged commit 8aac6a0 into develop Feb 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants