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

Mime UNIX behavior for existing directories #43

Open
fishi0x01 opened this issue Jun 20, 2020 · 0 comments · May be fixed by #44
Open

Mime UNIX behavior for existing directories #43

fishi0x01 opened this issue Jun 20, 2020 · 0 comments · May be fixed by #44
Assignees
Labels
enhancement New feature or request

Comments

@fishi0x01
Copy link
Owner

cp and mv should more behave like their UNIX pendants, in terms of how they deal with existing directories as targets. I.e., files should be copied/moved inside a specified existing target directory.
E.g.,

cat src/dir/file
value = a

cp src/dir dest/existing-dir
cat dest/existing-dir/dir/file
value = a

Additionally, to easily copy files from one dir to another, the * operator should be introduced, i.e.,:

cat src/dir/file
value = a

cp src/dir/* dest/existing-dir
cat dest/existing-dir/file
value = a
@fishi0x01 fishi0x01 added the enhancement New feature or request label Jun 20, 2020
@fishi0x01 fishi0x01 self-assigned this Jun 20, 2020
@fishi0x01 fishi0x01 linked a pull request Jun 20, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant