Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Find and replace MD5 hash from file

by ikegami (Pope)
on Jun 29, 2011 at 20:19 UTC ( #912029=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $passwd_lit = $passwd;
    my $path_lit   = $path;
    s#'#'\\''#g for $passwd_lit, $path_lit;
    system("mysqldump --add-drop-table -uroot -p'$passwd_lit' mydatabase |
    + gzip -9c > '$path_lit'");
    
  2. or download this
    my ($passwd_lit, $path_lit) = map text_to_shell_lit, $passwd, $path;
    system("mysqldump --add-drop-table -uroot -p$passwd_lit mydatabase | g
    +zip -9c > $path_lit");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912029]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-01 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.