03-01-2013
Hey Don, thanks for the reply!
Cool, that's kinda what I was thinking, but i wasn't sure if removing the file a few times an hour would be better or worse
then to just overwrite it each time...
But, that should be fine. I'll set something up at the very end of my script to remove the file after I confirm it was sent.
Thanks Again Don for the reply!
Thanks,
Matt
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
if i want to pipe output to a file, say,
cat abc.dat > abc.txt, how do i make it replace the existing file? (9 Replies)
Discussion started by: Duckman
9 Replies
2. UNIX for Dummies Questions & Answers
Hi
im using the following to copy a file to a directory, the user being prompted to overwrite if the file already exists in that directory,
cp -i myfile /home/brief/bin2
but this reveals the path of the directory when being prompted to overwrite (below)
cp: overwrite... (2 Replies)
Discussion started by: ali999
2 Replies
3. Shell Programming and Scripting
Dear All,
I have text file like this:
Header
Record 1
Record 2
.......
Record n
Tail
This line of code :
awk '{ if ( NR == 1 ) { head=substr($0,1,300);} else { last = substr($0,1,300);}END{printf "Header is : %-300s Trailer is : %-300s\n", head, last}' filename
converted Header... (11 Replies)
Discussion started by: 33junaid
11 Replies
4. Shell Programming and Scripting
Hi guys,
I checked the knowledge base before posting this question.
is there any way by which you can ALWAYS ALLOW file overwrite in AWK?. i.e. an option similar to noclobber in Korn shell.
I don't to check for files existence and remove them. (1 Reply)
Discussion started by: Moon Noon
1 Replies
5. Shell Programming and Scripting
I'm debugging a ksh script written by someone else that does the following:
It runs a command and redirects stdout to a file called dberror that already exists using ">". This command fails with the following error:
The file access permissions do not allow the specified action. dberror:... (1 Reply)
Discussion started by: savage66
1 Replies
6. UNIX for Dummies Questions & Answers
my script is:
awk '...mycode...' file1.txt > file2.txt
and i want to overwrite file2.txt eachtime I run this script. but it says:File exists! :( I have tried
awk '...mycode...' file1.txt >| file2.txt but it again says:Missing name for redirect! :confused::confused:
what is this? (2 Replies)
Discussion started by: gc_sw
2 Replies
7. UNIX for Advanced & Expert Users
How do you overwrite a directory with another directory? I know you can delete your directory then copy your directory over, but I would think there would be a way to do this in one step. (5 Replies)
Discussion started by: cokedude
5 Replies
8. Shell Programming and Scripting
Dear users,
I've been looking for a way to overwrite files only if both have the same size, how could I do this? any help is very appreciated.
Best regards,
Gery (5 Replies)
Discussion started by: Gery
5 Replies
9. Shell Programming and Scripting
Hi Friends,
I have written a script to capture system performance every hour and redirected to output file. How to overwrite the file every next day?
Thanks
Suresh (4 Replies)
Discussion started by: suresh3566
4 Replies
LEARN ABOUT DEBIAN
guilt-patchbomb
GUILT-PATCHBOMB(1) Guilt Manual GUILT-PATCHBOMB(1)
NAME
guilt-patchbomb - Email a series of commits interactively
SYNOPSIS
guilt-patchbomb [-n] [-s] [--in-reply-to <msgid>] [--git] [--subject-prefix <prefix>] [<hash> | <since>..[<until>] | ..<until>]
DESCRIPTION
Send a series of commits via email asking for To, CC and other information interactively.
OPTIONS
-n
Don't send
-s
Don't add additional repository committer sign-offs to the patch. This allows the sign-off chain to be fully expressed in the commit
messages and not changed by the act of sending a patchbomb.
--in-reply-to <msgid>
Set the In-reply-to header to the specified message id. This allows the patches to be sent as replies to an arbitrary message.
--git
Generate a patch which uses all the features offered by the git diff format (e.g., rename and copy detection).
--subject-prefix <prefix>
Rather than using the standard [PATCH] prefix in the subject line, use [<prefix>] instead.
<hash>
Only the specified revision.
<since>..[<until>]
Revisions starting from <since> until <until>. The <since> revision it self is NOT included, while <until> is. If <until> is not
specified, it is assumed to be HEAD.
..<until>
All revisions until the <until> revision (inclusive).
AUTHOR
Written by Josef "Jeff" Sipek <jeffpc@josefsipek.net[1]>
DOCUMENTATION
Documentation by Brandon Philips <brandon@ifup.org[2]>
GUILT
Part of the guilt(7) suite (Generated for Guilt v0.35)
NOTES
1. jeffpc@josefsipek.net
mailto:jeffpc@josefsipek.net
2. brandon@ifup.org
mailto:brandon@ifup.org
Guilt v0.35 01/20/2013 GUILT-PATCHBOMB(1)