Which command were you thinking of intercepting? Is this to be illegal for the Operating System and software too? That might have unpredictable results, and I'm not sure how you would stop redirection like this:-
This is all down to your application design. If the part of your application that writes files is in shell script, then (it's not pretty, but) you could try:-
I'm left a little puzzled:-
Hi folks. None of the conventional methods are working for my dilemma:
I have a file in my root directory that has a name comprised of strange characters. When I do an ls, it just hangs at that file until I do a Cntrl-C.
rm ./filename
&
rm \filename
do not work. I am entering the... (4 Replies)
Hi,
From some time, we have noticed that our ascii files have started corrupting due to the presence of some random control characters (^@, ^M, ^H, ^D). The characters appear randomly on any file after the process that creates the file finishes. If we rerun the process, the files re creates... (0 Replies)
Hi All,
I am facing a weird problem. I have got a directory structure copied from windows to Linux. Some of the folders are named like
/gfs/data/Dow Jones $5/ DJ FCBOT_O_tick_1998.zip
/gfs/data/Dow Jones $5/ DJ FCBOT_O_tick_2000.CSV
/gfs/data/Dow Jones... (6 Replies)
hi:
i have several thousand files from users and of course they use all kind of characters on filenames. I have things like:
My special report (1999 ) Lisa & Jack's work.doc
crazy.
How do I remove all this characters in the current dir and subdirs too?
Thanks. (3 Replies)
I have files named like ABAB09s099E1AAV1.pdf and ABAB09s099E2AAV1.pdf in a directory. I need to add _Lop in the end of the name, like ABAB09s099E1AAV1_Lop.pdf for all files. For files with E2 in the name I also have to replace 99 with 88 in the filename, that would be ABAB09s088E2AAV1_Lop.pdf
... (3 Replies)
Hi,
It's my first time here... anyways, I have a simple problem with these filenames. This is probably too easy for you guys:
ABC_20101.2A.2010_01
ABD_20103.2E.2010_04
ABE_20107.2R.2010_08
Expected Output:
ABC_20101
ABD_20103
ABE_20107
The only pattern available are the ff:
1) All... (9 Replies)
hi, I have quite a bunch of files with annoyingly long filenames. I wanted to cut the range of characters from 9-18 and just retain the first 8 characters and the .extension. any suggestion how to do it. thanks much.
original filename: 20000105_20000105_20100503.nc.asc
output filename:... (4 Replies)
I have following script to 'archive' some logfiles:
for APPHOME in `cat $HOME/archive/apps.cfg`
do
. $APPHOME/archive/parms.cfg
LOGFILES=$(grep "^LOGFILE=" $APPHOME/archive/parms.cfg)
for I in $LOGFILES
do
LOGPATH=$(echo $I |awk -F'=' '{... (2 Replies)
Hi, I need a bit of help.
I've used awk to get the first 7 characters of a file -
awk '{print substr($0,0,7)}' test.csv
How do I now take this variable to rename test.csv to variable.csv ?
Any help or advice would be greatly appreciated! (2 Replies)
Hi All!
Please can someone help, I have a dir with the following files:
~-rw-r--r-- 1 emmuser users 2087361 Oct 16 15:50 MPGGSN02_20131007234519_24291.20131007
-rw-r--r-- 1 emmuser users 2086837 Oct 16 15:50 MPGGSN02_20131007233529_24272.20131007
-rw-r--r-- 1 emmuser ... (7 Replies)
Discussion started by: fretagi
7 Replies
LEARN ABOUT SUSE
dar_slave
DAR_SLAVE(1) General Commands Manual DAR_SLAVE(1)NAME
dar_slave - disk archive slave
SYNOPSIS
dar_slave [options] [<path>/]source
dar_slave -h
dar_slave -V
DESCRIPTION
dar_slave reads an archive and listens for dar orders on standard input, sending asked parts of the archive on standard output.
Source is the basename of the archive to read. By default, dar_slave uses standard input and output to communicate with a dar process,
which may be running on the local host or on a remote host. It is possible to change the behavior of dar_slave to use named pipe instead of
standard input and output
OPTIONS -h Displays help usage.
-V Displays version information.
-i <filename> reads the orders from the named file instead of standard input. In most cases the filename will be a named pipe.
-o <filename> sends the data to the named file <filename> instead of standard output. In most cases the filename will be a named
pipe.
-E <string> string is a command to be launched between slices. See dar(1) man page (same option) for more informations.
-Q Do not display any message on stderr when not launched from a terminal (for example when launched from an at job or
crontab). Remains that any question to the user will be assumed a 'no' answer, which most of the time will abort the
program.
-j when virtual memory is exhausted, as user to make room before trying to continue. By default, when memory is exhausted
dar aborts.
EXIT CODES
dar_slaves exists with the same codes as dar does, see dar(1) man page.
SIGNALS
Any signal sent to dar_slave will abort the program immediately, there is no way to have a proper termination before the end of the process
SEE ALSO dar(1), dar_xform(1), dar_manager(1), dar_cp(1)KNOWN BUGS
None actually.
AUTHOR
http://dar.linux.free.fr/
Denis Corbin
France
Europe
3rd Berkeley Distribution JAN 8, 2006 DAR_SLAVE(1)