I have few webservers logs like access.log. which would be growing everyday.
what i do everyday is, take the backup of access.log as access.log_(currentdate) and nullify the access.log.
So thought of writing a script... but stuck up in middle.
My requirement: to take the backup and nullify... (6 Replies)
hello, I need to build a shell script that receives the folder to copy by parameter and copy all files except thumb.db to another folder and rename them like, file.jpg renamed to file_bb1.jpg.
can someone help me
Thanks (4 Replies)
hello,
I am write a Script and i would listing all Files from Path1 out with DSR*.txt and give a new name an copy to the Path2.
I have problems with that to rename. Someone can help me?
Sorry, for my english. My english is not gut.
I hope you understand my.
That is my Script.
... (2 Replies)
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)
I need to pull down a good bit of files for another support team for an upgrade project. I have a server.list with all of the server names.
I need to do two parts:
FIRST:
I have this example, but it does not list the server name in front of each line.
#! /bin/bash
for server in $(<... (10 Replies)
Is better way to write the script loop through one by one "Old_File_1: & New_File_1:" to copy 100 files to /staging/test folder then re-name & gzip all those files? I wrote this code below and don't like that much. Thanks
I have a control_file under /tmp/test folder like below 100 files and... (10 Replies)
Hi,
I require help to complete below requirement through Linux Script.
I have a SQL query which shows two columns as output. One is Report Name and other is report path. Query return multiple rows. below is the output.
Report Name
Cotton Stock Report (Net Weight)- Customized
Output... (3 Replies)
#!/bin/sh
sqlplus -s "/ as sysdba" << EOF
SET HEADING OFF
SET FEEDBACK OFF
Select
pt.user_concurrent_program_name , OUTFILE_NAME
FROm
apps.fnd_concurrent_programs_tl pt,
apps.fnd_concurrent_requests f
where
pt.concurrent_program_id = f.concurrent_program_id
and pt.application_id =... (1 Reply)
Discussion started by: usman_oracle
1 Replies
LEARN ABOUT DEBIAN
ost_dir
ost::Dir(3) Library Functions Manual ost::Dir(3)NAME
ost::Dir -
A low level portable directory class.
SYNOPSIS
#include <file.h>
Inherits ost::File.
Public Member Functions
Dir (const char *name=NULL)
void open (const char *name)
void close (void)
virtual ~Dir ()
const char * getName (void)
const char * operator++ ()
const char * operator++ (int)
const char * operator* ()
bool rewind (void)
bool operator! ()
bool isValid (void)
Static Public Member Functions
static bool create (const char *path, Attr attr=attrGroup)
static bool remove (const char *path)
static bool setPrefix (const char *path)
static bool getPrefix (char *path, size_t size=256)
Additional Inherited Members
Detailed Description
A low level portable directory class.
Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries.
Author:
David Sugar dyfet@ostel.com low level directory access class.
Constructor & Destructor Documentation
ost::Dir::Dir (const char *name = NULL)
virtual ost::Dir::~Dir () [virtual]
Member Function Documentation
void ost::Dir::close (void)
static bool ost::Dir::create (const char *path, Attrattr = attrGroup) [static]
const char* ost::Dir::getName (void)
static bool ost::Dir::getPrefix (char *path, size_tsize = 256) [static]
bool ost::Dir::isValid (void)
void ost::Dir::open (const char *name)
bool ost::Dir::operator! () [inline]
const char* ost::Dir::operator* ()
const char* ost::Dir::operator++ () [inline]
const char* ost::Dir::operator++ (int) [inline]
static bool ost::Dir::remove (const char *path) [static]
bool ost::Dir::rewind (void)
static bool ost::Dir::setPrefix (const char *path) [static]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Dir(3)