Skip to content

If folder already exists#1

Open
calee0219 wants to merge 1 commit into
sufuf3:masterfrom
calee0219:master
Open

If folder already exists#1
calee0219 wants to merge 1 commit into
sufuf3:masterfrom
calee0219:master

Conversation

@calee0219
Copy link
Copy Markdown

move folder to .bkg if folder already exists
(not test yet)

move folder to .bkg if folder already exists
(not test yet)
@sufuf3
Copy link
Copy Markdown
Owner

sufuf3 commented Jun 10, 2018

Thank you.
However, when I ran the command like cd ~/ && mv -r protobuf protobuf.bkg && git clone https://github.com/google/protobuf.git, I met the following situation.

mv: invalid option -- 'r'
Try 'mv --help' for more information.

Because there is no protobuf under ~/.
Maybe we have to add a checker to check if there is the same name folder.
What do you think?

Thank you very much.

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