Skip to content

Comments

Update move and copy commands target path description#115

Merged
eyalbe4 merged 3 commits intojfrog:mainfrom
guydelarea:update-target-path-docs
Apr 19, 2024
Merged

Update move and copy commands target path description#115
eyalbe4 merged 3 commits intojfrog:mainfrom
guydelarea:update-target-path-docs

Conversation

@guydelarea
Copy link
Contributor

Update the mv and cp commands target path descriptions with the --flat flag, and add examples of moving or copying artifacts to an absolute path.

@github-actions
Copy link

github-actions bot commented Apr 18, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@guydelarea
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Copy link
Contributor

@eyalbe4 eyalbe4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR!
See my inline comments.


#### Example 4

Copy all artifacts located under /rabbit in the **source-frog-repo** repository to an absulote path.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a bit hard to understand from the example description what the desired outcome is, I suggest adding a "before" and "after" example that demonstrates the outcome. Also, I'm not sure "to an absolute path" isn't fully clear, so I suggest rephrasing the entire description.


#### Example 4

Move all artifacts located under /rabbit in the **source-frog-repo** repository to an absulote path.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's a bit hard to understand from the example description what the desired outcome is, I suggest adding a "before" and "after" example that demonstrates the outcome. Also, I'm not sure "to an absolute path" isn't fully clear, so I suggest rephrasing the entire description.

Move all artifacts located under /rabbit in the **source-frog-repo** repository to an absulote path.

```
jf rt cp "source-frog-repo/rabbit/*" target-frog-repo/rabbit/ --flat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"cp" here should probably be replaced with "mv".

@eyalbe4 eyalbe4 self-requested a review April 19, 2024 02:14
#### Example 4

Copy all artifacts located under /rabbit in the **source-frog-repo** repository to an absulote path.
Copy all artifacts located under /rabbit in the **source-frog-repo** repository into the same path in the target-frog-repo repository without maintaining the original subdirectory hierarchy.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

target-frog-repo --> target-frog-repo
(Notice the markdown ** wrapping)

The same goes for the mv command example.

@eyalbe4 eyalbe4 self-requested a review April 19, 2024 05:03
@eyalbe4 eyalbe4 merged commit 0ed3a84 into jfrog:main Apr 19, 2024
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.

2 participants