11-19-2008
How to Archive Folders in T-Shell
Hi i am new to Unix Shell Programming... i m just a beginner and i m training myself in Unix.... I need a sample code to archive folders in my Windows OS using Unix commands... Can someone Help me?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm new to shell scripting and I'm having a tough time figuring out how to script something. Can anyone help?
Here is my setup and what I want to do:
A directory contains a list of projects by year (2000, 2001, etc) and customers (01-001) all of which have the same internal directory setup... (3 Replies)
Discussion started by: medazinol
3 Replies
2. Shell Programming and Scripting
Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter
For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt
this should place the file in the following directory
... (8 Replies)
Discussion started by: mak1600
8 Replies
3. Shell Programming and Scripting
I am writing a shell script for Archive Purge for the table having rows < 1 year. The shell script has to extract the rows from the table and write those extracted rows to a text file. Then from the text file, each rows will be read and deleted by means of delete query one by one. The fields will... (5 Replies)
Discussion started by: regnumber
5 Replies
4. AIX
my shell doesnt work but i didn't find why, could someone help me please !
"archive_month=$1
mkdir /rep/archive1.$mois_archive
mkdir /rep/archive2.$mois_archive
agency=00001
day=01
for agency in `cat agency.txt`
do
for day in `cat day.txt`
do
cd /rep_archive/archive1... (3 Replies)
Discussion started by: fastlane3000
3 Replies
5. Shell Programming and Scripting
Hello, I found the forum’s information very helpful and informative. I am relatively new to UNIX programming. I am researching how to write a UNIX shell script to ftp all files from specific host folder to a client server. Also need to archive all transferred files, send a message (email) if any... (4 Replies)
Discussion started by: Lenora2009
4 Replies
6. Shell Programming and Scripting
Hi,
I'm new to Unix shell scripting and my first task is proving to be tricky.
Please help where you can with pointers, tips, or examples of script.
I'm self learning from the internet.
I need to archive off files to another write protected directory according to the file names.
ex.... (0 Replies)
Discussion started by: gorses
0 Replies
7. Shell Programming and Scripting
This is my first post so ... be gentle:)
Hello I have several folders that are backed up daily in following format:
/back_YY.MM.DD/backup1/*
........................./backup2/*
I looking a script to archive and rename all backup folders bazed on root folder... (8 Replies)
Discussion started by: vilibit
8 Replies
8. Shell Programming and Scripting
Hi All,
I am creting archive script in which i need to split the source file's to different target folder's based on the input file name first character.
Input1.txt -- will contains file names that are needs to be Archive.
Input1.txt
A1213355
B2255666
C2254555
A6655444
C5566445
... (2 Replies)
Discussion started by: kmsekhar
2 Replies
9. UNIX for Dummies Questions & Answers
Hi
Can i archive folder and folders in with the tar command
My files are located in subfolders
Eg: Folder1/Folder1_1/*.pdf
Folder1/Folder1_2/*.pdf
Folder1/Folder1_3/*.pdf
so i would like to tar all the files in Folder1_1 and Folder1_2 only not Folder1_3 that should be done next... (2 Replies)
Discussion started by: cnrj
2 Replies
10. Shell Programming and Scripting
Requirement:
Under fuse application we have placeholders called containers;
Every container has their logs under:
<container1>/data/log/fuse.log
<container1>/data/log/fuse.log.1
<container1>/data/log/fuse.log.XX
<container2>/data/log/fuse.log... (6 Replies)
Discussion started by: Arjun Goswami
6 Replies