07-31-2019
As a side (not directly related to this discussion):
I recommend that when you have any filename with some "tricky" special chars which makes the file hard to delete that you first move the file to a new file name (without the "strangeness" which makes the file undeletable) and then delete the file.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i try to ls -lrt the directory, the "undeletable" file is listed.
but when i try to ls -lrt *exe, the "undeletable" file is not listed.
this "undeletable" is the file that i want to delete from the directory.
but when i try to delete/rename/copy.... it, it show that "No such file or... (10 Replies)
Discussion started by: chxxangie
10 Replies
2. UNIX for Dummies Questions & Answers
I've some files created by a script.
For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable.
i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there.
These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies
3. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
4. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
5. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
BNFTP(1) BNETD User's Manual BNFTP(1)
NAME
bnftp - Battle.net file transfer client
SYNOPSIS
bnftp [options] [servername [serverport]]
DESCRIPTION
bnftp is a simple program for downloading data files from a bnetd server. These files include tos.txt, upgrade MPQ archives, and ad ban-
ners.
If no servername is specified, localhost is assumed. If no serverport is specified, 6112 is assumed.
After the program is started it will connect to the server and then prompt for the filename to download. No directory components may be
used in the filename. The file is copied to a file with the same name in the current directory.
OPTIONS
-b Causes bnftp to emulate a Brood Wars client.
--client
Causes bnftp to emulate a specific client. The following client tags are recognized: DRTL DSHR STAR SSHR SEXP W2BN. There are
short options which may be used instead for the common clients.
-d Causes bnftp to emulate a Diablo client.
-h --help --usage
Print usage information and exit.
-s Causes bnftp to emulate a Starcraft client.
-v --version
Print its version number and exit.
-w Causes bnftp to emulate a Warcraft II BNE client.
NOTES
The current version is available with the bnetd distribution at:
http://www.bnetd.org/
BUGS
This program assumes that the terminal will move to the beginning of the current line when the carriage return character (^M) is printed.
It also assumes the backspace character (^H) will move one column to the left that character printed after that will replace those already
on the screen.
The terminal settings are not consulted for keybindings. The following are assumed:
^H delete the character to the left of the cursor
^J accept current line
^M (return)
accept current line
^T transpose the last two characters
^W delete word to the left of the cursor
^U delete the whole input line
^[ (escape)
cancel the current input line
^? (delete)
delete the character to the left of the cursor
SEE ALSO
bnetd(1)
AUTHOR
Ross Combs (ross@bnetd.org)
BNETD
11 June, 2000 BNFTP(1)