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

Check overwrite of file #1

Closed
jwilberding opened this issue Jan 30, 2013 · 3 comments
Closed

Check overwrite of file #1

jwilberding opened this issue Jan 30, 2013 · 3 comments
Assignees

Comments

@jwilberding
Copy link
Owner

If receiving file, check to make sure not overwriting, if it will, ask user first.

@ghost ghost assigned jwilberding Jan 30, 2013
@jwilberding jwilberding reopened this Jan 30, 2013
@kaoru
Copy link

kaoru commented Feb 16, 2013

Seconded! My first test of bcp was to try it locally:

$ ./bcp /path/to/file &
$ ./bcp 

Two unexpected things happened:

  1. bcp copied the file to /path/to/file. I expected the file to be copied into my current working directory on the receiving side.
  2. bcp didn't warn me that it would immediately empty the file I was copying

@jwilberding
Copy link
Owner Author

Also added overwrite prompt with ab1c5ec

@kaoru
Copy link

kaoru commented Feb 16, 2013

Nice! Thanks :-)

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

No branches or pull requests

2 participants