9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am new to scripting and am looking for some assistance setting up a script. Basically I need the script to scan a folder for the newest files and make a copy of those files, adding a month to the date stamp. I also need this script to delete the previously copied files to save space.... (4 Replies)
Discussion started by: Lucid13
4 Replies
2. Shell Programming and Scripting
I need to copy lines to a new file from files with sed using a pattern in char postions 1-3.
Then after the copy, I need to delete those same lines from the input files.
For example, string "ABC" in pos 1-3 (6 Replies)
Discussion started by: laksjfhoius9123
6 Replies
3. Shell Programming and Scripting
Folks,
I am hopeful that you may be able to help me out with writing a script that can be run nightly (as cron?) to loop through all subfolders within the "/media" directory, delete all of the files in each of them, and then copy in all of the files from the "/home//sansa" directory to each of... (6 Replies)
Discussion started by: acraig
6 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement to copy the files from C drive on Windows to UNIX, once the files are copied I need to delete them from that drive (C:).
A drive is also on same network as my unix, so I was asked to use RCP for copying the files. Can any one have the syntax to copy the files from... (0 Replies)
Discussion started by: Raamc
0 Replies
5. Shell Programming and Scripting
Hi All,
I have written a script to ensure all my ARCHIVE files are backed up retaining the directory structure.
The Script is--
#!/bin/sh
# Script to take backup of DCS Folders
# The file locations are /ftp/edi_ftp/edi_p/dcsftp/DCS/*/ARCHIVE
DCSITIME=$(perl -e '($ss, $mm, $hh, $DD, $MM,... (3 Replies)
Discussion started by: srnagu
3 Replies
6. Solaris
Hi all!
I have to monitor space in V890 machine, Solaris 10 weekly, because there is Oracle DB on it with many datafiles which have been taken offline to make enough size.
Sometime, one or more datafiles are big, they are 20GB, 40GB etc.. The problem I have encountered is the processing of... (5 Replies)
Discussion started by: trantuananh24hg
5 Replies
7. Shell Programming and Scripting
Hi,
I've got a cronjob running daily creating backup files. How can I send that created file to a remote server & then delete it on my workstation to save space? The filename format is as follows: proj_bk_20070624_15h30, proj_bk_20070625_15h30, etc
tar cvf - /project | gzip -c > proj_bk_$(date... (3 Replies)
Discussion started by: mokgonec
3 Replies
8. Shell Programming and Scripting
Hey there,
I am trying to move zipped text files from a remote server to a remote tape storage facility, through my home directory. What I want to do is get the zip file (using scp), unzip it, copy the output text file which was inside (using rfcp) to the tape storage server, and then delete... (3 Replies)
Discussion started by: spyne
3 Replies
9. UNIX for Dummies Questions & Answers
Hi there....I'm new for the UNIX...
just wondering if there is any method that can telnet to a server without typing the userID and PWD each time...
that is any command or scripts that allows me to enter the server directly?
also...after i enter the server...
i want to get some files then... (17 Replies)
Discussion started by: biglemon
17 Replies