Please find attached my script and let's see how we can fix it:
old_files.txt is containing the following:
What I want here is to compress every month alone ex: files_201201.tar.bz2 and cdrs_201202.tar.bz2 in the required destination.
Your input is highly appreciated!
---------- Post updated at 04:22 PM ---------- Previous update was at 12:55 AM ----------
Any update?
Last edited by Scott; 08-14-2013 at 08:03 PM..
Reason: Please use code tags
Hi Everyone , have a nice day
given below is a simple linux script
but its first part is not working ( variable k assignment ) , while second loop is working fine
can anyone help me out with this
#!/bin/sh
echo "Enter Date"
read date1
for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14... (6 Replies)
HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Hello everybody!
This is my first time having to write a script so your help is most appreciated.Also i am a beginner when it comes to linux so please bare with me.Thanks in advance to all who will look into this for me.
I have to write a bash script that will show the free space on the hard... (4 Replies)
I am creating a script that will incorporate multiple variables organized in a spreadsheet for pdftk. I have a 1000 page pdf that I have to split into about 300 individual pdfs. The basic command line to extract pages is as follows:
$ pdftk file.pdf cat 1-7 output newfile.pdf
file.pdf =... (8 Replies)
I need to write a script to which need to track errors in log and need to check last 100 lines in the log at every 5 minits. if error fund need to mail my self
error type
1. "STATE_ADMIN" if found need to print: <Jan 5, 2011 11:47:02 AM IST><ewaps2> <ADFAPPS2> < STATE_ADMIN
2."Java heap... (0 Replies)
#!/bin/sh
args=("$@")
echo "#================================="
echo "#Script Name:"
echo "#By:"
echo "#Purpose:"
echo "#:Command Line: picoc"
echo "#================================="
pico $@
this is my script. i think it is ok w/o error. but when i run it i got error. i'm using a VMBox... (1 Reply)
I have a text file like this:
25 raj
78 rohit
89 bhanu
58 mohit
29 mano
53 rohit
63 shiva
74 lapan
63 bhanu
what i need is a linux script to reorganize this file by adding
the relevant content(number) to the names and print only once.... please help me someone. ... (1 Reply)
Hi all,
I am trying to make a Nodemanager work in RHEL 5
I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation.
I keep getting the error, "line 82: syntax error: unexpected end of file".
I have checked every line to make sure all... (4 Replies)
Hello,
could you please help me with the following request?
I need a linux command script that does the following.
1. delete folders folder1 and folder2 located in install/users/web/folder1&2.
and also delete folder3 install/jboss/server/folder3. All these folders has many folder and files... (1 Reply)
can anyone help in this
i have a file like
2089,success
2089,failure
2087,failure
2089,success
2087,failure.
i want output like.
2089,success=2,failure=1
2087,success=1,failure=2
thanks (8 Replies)
Discussion started by: pradeep rawat
8 Replies
LEARN ABOUT SUSE
struct_platform_nand_ctrl
STRUCT PLATFORM_NAND(9) Structures STRUCT PLATFORM_NAND(9)NAME
struct_platform_nand_ctrl - controller level device structure
SYNOPSIS
struct platform_nand_ctrl {
int (* probe) (struct platform_device *pdev);
void (* remove) (struct platform_device *pdev);
void (* hwcontrol) (struct mtd_info *mtd, int cmd);
int (* dev_ready) (struct mtd_info *mtd);
void (* select_chip) (struct mtd_info *mtd, int chip);
void (* cmd_ctrl) (struct mtd_info *mtd, int dat,unsigned int ctrl);
void (* write_buf) (struct mtd_info *mtd,const uint8_t *buf, int len);
void (* read_buf) (struct mtd_info *mtd,uint8_t *buf, int len);
void * priv;
};
MEMBERS
probe
platform specific function to probe/setup hardware
remove
platform specific function to remove/teardown hardware
hwcontrol
platform specific hardware control structure
dev_ready
platform specific function to read ready/busy pin
select_chip
platform specific chip select function
cmd_ctrl
platform specific function for controlling ALE/CLE/nCE. Also used to write command and address
write_buf
platform specific function for write buffer
read_buf
platform specific function for read buffer
priv
private data to transport driver specific settings
DESCRIPTION
All fields are optional and depend on the hardware driver requirements
AUTHOR
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 STRUCT PLATFORM_NAND(9)