Search Results

Search: Posts Made By: wyclef
2,671
Posted By wyclef
i want each individual archive to contain a...
i want each individual archive to contain a folder for www and database... so _backups is currently the parent directory of the final archive file... which just throws the database and the files in...
2,671
Posted By wyclef
i want to take the database archive, put it in...
i want to take the database archive, put it in _backups in a folder called 'database', then i want to take the site, put it in _backups in a folder called 'www', and have the entire thing archived.
2,671
Posted By wyclef
Archiving and moving files into directories, creating directories, etc.
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is...
3,003
Posted By wyclef
Thanks for pointing that out i thought i had...
Thanks for pointing that out i thought i had changed that. How could i go about catching errors to be output in the email. Also, is it not necessary to have the .sh extension on my bash/cron script?...
3,003
Posted By wyclef
yes, CD! Here is the latest, and stripped...
yes, CD!

Here is the latest, and stripped down version. I removed all the tput and formatting stuff since cron doesn't bother with it. A few questions, what permissions would make the most sense...
3,162
Posted By wyclef
Encrypt Plaintext Password?
How do I encrypt a plaintext password that I need hardcoded in a bash script?
9,893
Posted By wyclef
Thanks guys! Lots to look over here...
Thanks guys! Lots to look over here...
3,003
Posted By wyclef
Calling bash script works when called manually but not via Cron?
Hi, I've got a Bash backup script I'm trying to run on a directory via a cron job nightly. If I ssh in and run the script manually it works flawlessly. If I set up the cron to run evertything is...
9,893
Posted By wyclef
blink=$(tput blink) reset=$(tput sgr0) printf...
blink=$(tput blink) reset=$(tput sgr0)
printf "%s" "${blink}Archiving...${reset}"



This works... but the same as what I setup where after the process it keeps blinking. I'll check out some of...
9,893
Posted By wyclef
Stop blinking text after process is complete
Trying to make some blinking text to designate a process taking place. Trying to figure out how when the process is complete how to end the blinking. I could clear out but then I lose any prior...
1,861
Posted By wyclef
Cool. Thanks for the explanation!
Cool. Thanks for the explanation!
1,861
Posted By wyclef
Delete files 30 days old
Will this work to delete files 30 days old in $backupDir or is there a better way to do it?


find $backupDir -type f -mtime +30 -exec rm {} \;
Forum: Open Source 03-17-2015
5,477
Posted By wyclef
ah, that makes sense! Trying out a different...
ah, that makes sense!

Trying out a different script here:

How come if I use the following script and select b at the prompt:


#!/bin/bash
#@author MagePsycho <magepsycho@gmail.com>...
Forum: Open Source 03-17-2015
5,477
Posted By wyclef
Backup Wordpress with Shell Script
Hello,

I'm trying to backup Wordpress files and database with a shell script. I found one online that works great and am trying to work it a bit to provide more notices and progress info as well...
Showing results 1 to 14 of 14

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