Sponsored Content
Full Discussion: Massive ftp
Top Forums Shell Programming and Scripting Massive ftp Post 303031158 by tricampeon81 on Friday 22nd of February 2019 08:57:44 AM
Old 02-22-2019
implement this code and the console is waiting for you to enter the key missing some parameter ??

Code:
echo 'open '$HOST''    >  mc_comando2.lst
       echo 'user '$USER' '$PASSWD''     >> mc_comando2.lst
      # echo 'cd '$repositorio_destino  >> mc_comando2.lst
       echo 'prompt off' >> mc_comando2.lst
       echo 'mput '$FILTRO''     >> mc_comando2.lst
       ftp -n < mc_comando2.lst

 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send a massive message to the connected users

How can I send a message for all the users connected into the system at the same time? Let's say I need to reboot the server and I ask the users to save their jobs becasue the server will be rebooted? (5 Replies)
Discussion started by: agasamapetilon
5 Replies

2. UNIX for Advanced & Expert Users

Solution for the Massive Comparison Operation

Hi We have 50 million records in mainframes DB2. We have a requirement to Record the Change Data Capture(CDC) records. i.e New Records or Updated Records that were added into the DB2. Unfortunately we dont have any column indicators to give the details of the changes made to the records. ... (8 Replies)
Discussion started by: raghav288
8 Replies

3. UNIX for Dummies Questions & Answers

massive tarred grib files totally unacceptable

Hi, I have 7 terabytes of tar files, one for every single day since 1980. Inside these tar files are GRIB files, each with 100+ variables. There's 8 GRIBs in each tar, corresponding to different times of the day. I need 6 friggin variables..., and it takes TWO WEEKS TO EXTRACT ALL THE TAR FILES... (3 Replies)
Discussion started by: sammysoil
3 Replies

4. Shell Programming and Scripting

Unix Shell basic loop massive n00b

hey guys I would really appreciate some help, i need to do a project for a job that requires minimal UNIX scripting and im REALLY stuck basically Im stuck at what i believe is something really simple but i just dont have a clue how to do it efficiently and properly and i REALLY appreciate some... (16 Replies)
Discussion started by: thurft
16 Replies

5. Homework & Coursework Questions

having massive trouble with 5 questions about egrep!

Hi all! I need help to do a few things with a .txt file using egrep. 1. I need to list all sequences where the vowel letters 'a, e, i, o, u' occur in that order, possibly separated by characters other than a, e, i, o, u; consisting of one or more complete words, possibly including punctuation. ... (1 Reply)
Discussion started by: dindiqotu
1 Replies

6. Shell Programming and Scripting

Massive Copy With Base Directory

I have a script that I am using to copy around 40-70k files to a NFS NAS. I have posted my code below in hopes that someone can help me figure out a faster way of achieving this. At the end of the script i need to have all the files in the list, copied over to the nas with source directory... (8 Replies)
Discussion started by: nitrobass24
8 Replies

7. Solaris

Solaris 10 massive SMF log file

I found that there was a SMF log file: /var/svc/log/milestone-multi-user-server:default.log.0 which occupied around 19G bytes. Please help me how to purge this massive file. Can I just use cat /dev/null > /var/svc/log/milesto..... to this file without any interruption to a non-stop system?... (11 Replies)
Discussion started by: AlexLi
11 Replies
CHI::Driver::RawMemory(3pm)				User Contributed Perl Documentation			       CHI::Driver::RawMemory(3pm)

NAME
CHI::Driver::RawMemory - In-process memory cache that stores direct references VERSION
version 0.54 SYNOPSIS
use CHI; my $hash = {}; my $cache = CHI->new( driver => 'RawMemory', datastore => $hash ); my $cache = CHI->new( driver => 'RawMemory', global => 1 ); DESCRIPTION
This is a subclass of CHI::Driver::Memory that stores references to data structures directly instead of serializing / deserializing. This makes the cache faster at getting and setting complex data structures, but unlike most drivers, modifications to the original data structure will affect the data structure stored in the cache, and vica versa. e.g. my $cache = CHI->new( driver => 'Memory', global => 1 ); my $lst = ['foo']; $cache->set('key' => $lst); # serializes $lst before storing $cache->get('key'); # returns ['foo'] $lst->[0] = 'bar'; $cache->get('key'); # returns ['foo'] my $cache = CHI->new( driver => 'RawMemory', global => 1 ); my $lst = ['foo']; $cache->set('key' => $lst); # stores $lst directly $cache->get('key'); # returns ['foo'] $lst->[0] = 'bar'; $cache->get('key'); # returns ['bar']! CONSTRUCTOR OPTIONS
Same as CHI::Driver::Memory. SIZE AWARENESS
For the purpose of size-awareness, all items count as size 1 for this driver. (Because data structures are not serialized, there's no good way to determine their size.) # Keep a maximum of 10 items in cache # my $cache = CHI->new( driver => 'RawMemory', datastore => {}, max_size => 10 ); ACKNOWLEDGEMENTS
Thanks to Yuval Kogman whose Cache::Ref inspired me to do this. SEE ALSO
CHI::Driver::Memory, CHI AUTHOR
Jonathan Swartz <swartz@pobox.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-30 CHI::Driver::RawMemory(3pm)
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy