Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Oracle...
Script:
Conditional update
Unix...
Tip:
Rimuovere un file in Unix / Delete a file
PLSQL...
Script:
TYPE TABLE
Shell scripting...
Script:
Compact if construct
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
Php Funzione mail()
XPath is a language for addressing parts of an XML document.
It is designed to be used by XSLT and XPointer.
Basically, a web session can be defined as the timeframe in which a visitor navigates your web site.
|
Shell scripting
Home >Shell scripting > Script for archiving and compressing folder and file
Remeber this is a sample of small archive utility, when you rename, move, compress file be always cautius. #!/usr/bin/ksh #archive # tested onHP-UX 03 B.11.23 U # it is necessary specify a directory or a file if [ $# -ne 1 ] then echo " tar, compress and label with today's date" echo "Usage : $0 directory | file " echo "Example : $0 mydata" exit 1 fi target=${1} # chek if file or directory exists if [ ! -a $target ] then echo "$target does not exist " ; exit fi vdate=`date '+%Y%m%d'` # tar tar cvf ${target}.tar ${target} # no need to rush ... old habits sleep 6 # compress compress ${target}.tar sleep 2 # archiving mv ${target}.tar.Z ${target}.tar_${vdate}.Z $HPSERVER01 ls -ls -R mydata mydata/code/ p1.ksh p2.ksh p4.ksh mydata/ddl/: t1.sql t2.sql t26.sql $HPSERVER01 myarchive mydata mydata/code/p1.ksh 1 blocks mydata/code/p2.ksh 1 blocks mydata/code/p4.ksh 3 blocks mydata/code/p32.ksh 3 blocks mydata/ddl/t1.sql 3 blocks mydata/ddl/t2.sql 4 blocks mydata/ddl/t26.sql 3 blocks $HPSERVER01 ls -la mydata* Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Cerca A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson A good scientist is a person with original ideas.
A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering. Freeman Dyson
Oracle...
Definizioni:
SCN
Shell scripting...
Script:
Script for archiving and compressing folder and file
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |