Search Results

Search: Posts Made By: SalientAnimal
2,363
Posted By SalientAnimal
Cool, thanks for the feedback. I'm still busy...
Cool, thanks for the feedback. I'm still busy working on the script and being new to scripting I'm learning as I go along.

Will remove the -h command from my script.
2,363
Posted By SalientAnimal
I'm slowly progressing on this. I have managed to...
I'm slowly progressing on this. I have managed to get my script to now return the size of the original files. I now need to get the script to compare which is large and then to send the correct...
2,363
Posted By SalientAnimal
I want to check the size, as well as if the...
I want to check the size, as well as if the backup completed successfully before replacing the old files on the remote server with the newly created files.

This is what my scripts looks like:
...
2,363
Posted By SalientAnimal
Compare File & Copy Replace if Successful
Hi All,

I have written a shell script that creates a backup of my MySQL database. The script performs the following functions:


Creates a Backup of the MySQL database
Compresses the Backup...
2,027
Posted By SalientAnimal
Thanks... Sorry I haven't had time to try these....
Thanks... Sorry I haven't had time to try these. But will try work on it as soon as I can and let you know how it all works out. Really appreciate all the help.
2,027
Posted By SalientAnimal
Thanks for the advice DGPickett. Where would one...
Thanks for the advice DGPickett. Where would one use the pipe? Sorry I know its probably a very basic question, but I'm still new to shell scripting, infact this is actually my first script.

I'm...
2,027
Posted By SalientAnimal
I have the follwoing script running at the moment...
I have the follwoing script running at the moment and now like mentioned in the first part of my post I want to compare compare the new backup to the backup of the previous day. If the new backup is...
2,027
Posted By SalientAnimal
Compare and Replace
Hi,

I'm running a shell script to do a daily backup of my mysql database. The backup is done using:
mysqldump db1 > db1.sql --user=rootuser --password=rootpassword && \
mysqldump db2 >...
3,749
Posted By SalientAnimal
Thanks Guys, You really helped a lot. This was my...
Thanks Guys, You really helped a lot. This was my first shell script that I have written and I think I have really learnt a lot. I really do appreciate the help.

---------- Post updated at 10:41...
3,749
Posted By SalientAnimal
I really have no clue what I am doing wrong. I...
I really have no clue what I am doing wrong. I have now changed it and it nots creating an attachment anymore. I've read all the other forums and links and even went through a complete tutorial but I...
3,749
Posted By SalientAnimal
I look at all three those posts. It seems like...
I look at all three those posts. It seems like I'm going round in circles. I again have it attaching the HTML file, but the HTML file is empty. If I jsut run it without doing a mailer, the correct...
3,749
Posted By SalientAnimal
I not get this in my e-mail, but now no...
I not get this in my e-mail, but now no attachment.


--3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Attached is the current status of the System...
3,749
Posted By SalientAnimal
I still seem to be having a problem with the...
I still seem to be having a problem with the attachment actually containing any data. The script runs sending an e-mail with an HTML file attached, however when I open the HTML file it is blank....
3,749
Posted By SalientAnimal
I tried this, and now it prints the output of the...
I tried this, and now it prints the output of the shell script. However it still doesn't attach and e-mail the file.

At the start of the print screen I get Can't Stat
At the end I get </html>:...
3,749
Posted By SalientAnimal
Ok, can you maybe help me get it working? I have...
Ok, can you maybe help me get it working? I have manage to fix the first few errors and now I get the following:

Can't stat <html>: No such file or directory
<html>: unable to attach file.
3,749
Posted By SalientAnimal
Shell Script To E-Mail
Hi All,

I'm having some problems with my shell script. When running the script I get the following errors:

line 101: <html>: command not found
line 105: /dumpfile.txt: No such file or...
1,614
Posted By SalientAnimal
Move Directory & Contents Between Two Machines
Hi All,

I have a large amount of files that I need to copy from one server to another server using SFTP. Can comeone please help me with the command I would use here?

Here is what I am...
1,275
Posted By SalientAnimal
sed Linebreaks
Hi All,

I have a linebreak in mid text \n and would like to remove this. I only want the \n at the end of the line.

Any suggetions on how I would get this to work?

I had:

cat...
1,859
Posted By SalientAnimal
Thanks I didn't see that. Took over the script...
Thanks I didn't see that. Took over the script from someone else. So the problem doesn't seem to be the ',' as I had thought. When my file exports, some of the data is placed on a new line, rather...
1,859
Posted By SalientAnimal
CSV Delimiter Settings
Hi All,

I am really new to Shell Scripting and would appreciate any help here.

I have a script that runs throguh a cron job on a daily basis, problem is when the file is attached and...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy