10-16-2009
Backup eines Verzeichnis und der unterverzeichnisse erstellen
Hallo
ich bin neu in dem bereich Bash scripting
und deswegen suche ich ein script der auf meinem unix server laufen soll
und zwar immer wenn ich den server starte
oder alle 24h
der script soll ein backup von einem verzeichnis und meheren unterverzeichnissen erstellen
da ich nirgends was gefunden hab eröfne ich hier einen neuen thread
ich hoffe um eine schnelle und gute antwort
mfg HansWurst
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, beginne gerade mich in der UNIX Welt zu recht zu finden : habe nun folgendes Anliegen, hoffe ihr könnt mir helfen (ist sicher trival für euch, sorry dafür -) )
Ich möchte mir ein kleines Shell-Script schreiben , welches mir dateien eines bestimmten verzeichnisses anhand der Anzahl der... (4 Replies)
Discussion started by: anja_22
4 Replies
2. Shell Programming and Scripting
wie kann ich zu dem 2. wert eines files den wert einer variable hinzufügen bei nawk?
ich habe folgendes:
nawk '{system("echo "$1" "$2+22)}' filename
das funktioniert -> so wird beim zweiten wert 22 hinzugezählt!
ich möchte aber nicht 22 hinzufügen sondern den wert, der in der variablen... (5 Replies)
Discussion started by: Helmut
5 Replies
3. Shell Programming and Scripting
Hallo,
ich habe eine Datei "Kino.ini" die z.B. wie folgt aussieht
* KINOFILM A
bla bla
KINOFILM B
blubb blubb
KINOFILM C
Ich möchte nun die Datei "Kino.ini" per cat und grep auslesen und testen ob der String KINOFILM nur mit einem '*' am Anfang vorkommt. In dieser Beispieldatei... (3 Replies)
Discussion started by: ABE2202
3 Replies
4. Shell Programming and Scripting
Hallo,
ich habe mir mit meinen dürftigen Programmierkenntnissen ein Script zusammengebastelt über das ich in einem bestimmten Odner mit AWK alle Dateien eines Verzeichnis durchsuche und bestimmte Bezeichungen aller Dateien ändern kann.
Es funktioniert auch soweit, nur hätte ich gerne auch die... (1 Reply)
Discussion started by: ruffi
1 Replies
5. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
how do I read in a file which includes a list of workstations and then run a command for each workstation ?
I am unclear which command to use to read in , or is this not possible ?
Thanks, (3 Replies)
Discussion started by: manni2
3 Replies
LEARN ABOUT CENTOS
asn1_bit_der
asn1_bit_der(3) libtasn1 asn1_bit_der(3)
NAME
asn1_bit_der - API function
SYNOPSIS
#include <libtasn1.h>
void asn1_bit_der(const unsigned char * str, int bit_len, unsigned char * der, int * der_len);
ARGUMENTS
const unsigned char * str
BIT string.
int bit_len number of meaningful bits in STR.
unsigned char * der
string returned.
int * der_len
number of meaningful bytes of DER (der[0]..der[ans_len-1]).
DESCRIPTION
Creates a length-value DER encoding for the input data as it would have been for a BIT STRING. The DER encoded data will be copied in der.
Note that the BIT STRING tag is not included in the output.
This function does not return any value because it is expected that der_len will contain enough bytes to store the string plus the DER
encoding. The DER encoding size can be obtained using asn1_length_der().
COPYRIGHT
Copyright (C) 2006-2013 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your
site, the command
info libtasn1
should give you access to the complete manual.
libtasn1 3.3 asn1_bit_der(3)