Questions tagged [overwrite]

Overwriting is a process of replacing content with other content in place. It can be physically replaced on storage, or overridden with newer version of content type.

Overwriting is a process of replacing content with other content in place. It can be physically replaced on storage, or overridden with newer version of content type.
Not to be confused with Override in Object Oriented Programming.

1479 questions
26
votes
4 answers

Visual Studio Permanently Disable Overwrite

I have a minor annoyance with Visual Studio. In the bottom right hand corner of Visual Studio, there is a INS/OVR button to toggle Insert/Overwrite. I always have this button set to INS, and I always want it to be set to INS. However, sometimes when…
Elaine Lin
  • 511
  • 1
  • 5
  • 15
26
votes
1 answer

How to Save/Overwrite existing Excel file without message

I need to export excel from viewlist, I used this code Excel.Application app = new Excel.Application(); //app.Visible = true; Excel.Workbook wb = app.Workbooks.Add(1); Excel.Worksheet ws =…
didodido
  • 263
  • 1
  • 3
  • 7
25
votes
2 answers

how to overwrite data in a txt file?

Possible Duplicate: Can any one tell why the previous data is still displayed while saving data using StreamWriter I have WPF C# application, that reads and writes to a .txt file, i know how to write line but line, but how do I overwrite the text…
Beef
  • 1,413
  • 6
  • 21
  • 36
25
votes
4 answers

How to import a MySQL dump from command line WITH overwrite

i googled a lot and i can't found nothing about it ! [root@someday backups]# mysql -u username_1 -p db_1 < tables_to_import/tables.sql ERROR 1050 (42S01) at line 19: Table 'ps_customer' already exists with mysql -f is the same. i wish simply…
CalfCrusher
  • 350
  • 1
  • 4
  • 15
23
votes
2 answers

Have you ever got this message when moving a file? mv: will not overwrite just-created

I have a bourne shell script which performs several tasks. One of these tasks is to move some files to certain directory. Today, when I ran the script I got the following message: mv: will not overwrite just-created with…
Nacho Mezzadra
  • 886
  • 2
  • 12
  • 14
23
votes
1 answer

Overwriting an existing Heroku app

I have a Sinatra app, hosted on Heroku. Lately, I've been developing that same app from a different folder. It's not a branch, it's just a parallel app / directory with identical contents but different code. I want to push this new app to Heroku,…
fullstackplus
  • 1,061
  • 3
  • 17
  • 31
22
votes
1 answer

Hive Insert Overwrite Table

I'm new to Hive and I wanted to know if insert overwrite will overwrite an existing table I have created. I want to filter an already created table, let's call it TableA, to only select the rows where age is greater than 18. Can I achieve this using…
Anna Mai
  • 233
  • 1
  • 2
  • 7
21
votes
4 answers

How do I overwrite a log file in log4j?

I have a log file that has the following appender added to it : logger.addAppender(new FileAppender(new PatternLayout(),"log.txt")); the thing is, each time I'm running my application, additional logging information gets appended to the same log…
Geo
  • 93,257
  • 117
  • 344
  • 520
21
votes
3 answers

Gradle Copy Task: How to overwrite existing files?

The Copy api doesn't mention a flag/property that can be set. So what's the default action and how can one modify it? According to this, As of Gradle 0.9.1, the Copy task always overwrites files. The other strategies are not supported yet.
user1329572
  • 6,176
  • 5
  • 29
  • 39
20
votes
1 answer

WiX-- always overwrite the previous version

I have an installer of an application that needs to install over any existing version, regardless of version number. Instead, I've got an installer that constantly says that I need to go to add/remove programs. That's very frustrating behavior for…
mmr
  • 14,781
  • 29
  • 95
  • 145
20
votes
3 answers

Java overwriting an existing output file

My program is currently using FileOutputStream output = new FileOutputStream("output", true); A while loop creates the output file if it is not yet created and appends some data to this file for every iteration of the while loop using …
john stamos
  • 1,054
  • 5
  • 17
  • 36
19
votes
3 answers

How to overwrite files in VS Code on copy-paste (and not get a *.1* appended to the filename)?

Whenever I copy-paste a file in VS Code's project pane from one folder to another with an existing file of the same name, it keeps appending a .1 in the filename. (ex: bob.jpg -> bob.1.jpg). Is there a way to disable this and have it overwrite the…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
19
votes
1 answer

Fake navigator properties

I would like to fake Navigator platform property of CasperJS(/PhantomJS). I found the easy solutions of overwriting the Navigator Object at page load which is suggested in many other places on the web: casper.on('page.initialized', function(){ …
Alex
  • 1,914
  • 6
  • 26
  • 47
17
votes
3 answers

Java overloading vs overriding

Hi I just want to make sure I have these concepts right. Overloading in java means that you can have a constructor or a method with different number of arguments or different data types. i.e public void setValue(){ this.value = 0; } public void…
user69514
  • 26,935
  • 59
  • 154
  • 188
17
votes
1 answer

what does 'tar --overwrite' actually do (or not do)?

I see that Linux tar has an option --overwrite. But overwriting seems to be the default. Moreover, specifying tar --no-overwrite does not change this behavior as the info file seems to suggest. So what does that option actually do? I test it…
4dummies
  • 759
  • 2
  • 9
  • 22
1
2
3
98 99