mget and mput...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mget and mput...
# 8  
Old 09-11-2003
Hi yoyomamma,

How big are these files are you moving??
# 9  
Old 09-11-2003
hey cameron,

i'd say the majority of them are 2K files,
but sometimes they are 4K.

or in MB:

12.1 or 24.2
# 10  
Old 09-11-2003
Say you need to grab name.0700.sgi to name.1000.sgi, you could just use:

mget name.07*.sgi name.08*.sgi name.09*.sgi name.1000.sgi

BTW, a 12.1 MB file is over 12390 KB ... what'd you mean by either 2K or 4K?
# 11  
Old 09-12-2003
MySQL

2K and 4K are film format terms for cineon files...

i used to think that the K had something to do with the byte size, but now i don't know what the K stands for.

anyhow, oombera, your solution is the best for my situation. thank you all for your help and sharing your knowledge!!

thanks again,
yomamma
# 12  
Old 09-17-2003
Are you moving your files between to servers? I ask because you could just rcp the files if you set up the .rhosts file. It's just a thought if FTP is not working for you and you can automate the process at the same time. Of course, you want test the hell out of an automated script before you implement it, but once all the bugs are worked out you can cron it and forget about it until you need to make changes. Just some foo for thought!Smilie
# 13  
Old 09-18-2003
hi MIRV,

rcp takes forever, at least here it does.
i just used it the other day to copy 187 files and it took about an hour. i should have just ftp'd them down to me and then back up to where they needed to be and i would have saved 45 min.

anyway, i am looking into some automation, but like you said i need to test the hell out of it.

thanks!
yomamma
# 14  
Old 09-18-2003
Try rsync - It does work well.
Your initial run may take a bit of time, but after that it screams along.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Second try mput failed

I'm having few doubts with below questions not able figure out the reason: mput operation used via shell script failed with 550 code return from FTP - "Overwrite cannot be done". ( Having all permissions to this directory ) but why got failed. When trying to run the script again but now it... (3 Replies)
Discussion started by: Gautham
3 Replies

2. UNIX for Dummies Questions & Answers

mget help

Hi I'm trying to get all files from a directory with a script. So i'm gone paste my script here: cd /var/www/match_demos/speedgaming/ lftp -u Gudfaren,xxxxx ftp.speedgaming.pro -e cd 89.221.243.11_27500 -e mget *.dem exit when i run that i get: "File name missed. Try `help mget' for more... (2 Replies)
Discussion started by: vYN
2 Replies

3. Shell Programming and Scripting

.netrc does not execute mput command

Hi all :D i' ve a script running on freebsd system: echo "Start FTP Transfer" cd /tmp/elaboralog ftp -i 192.168.27.147 2100 > /tmp/elaboralog/ftp_log_phase2That call .netrc machine 192.168.27.147 login user password 12345 macdef backup binary cd tmp/elaboralog mput *-file.txt... (19 Replies)
Discussion started by: mirrorx
19 Replies

4. Shell Programming and Scripting

mput question

I want to mput a file without extension, and while doing the mput i want to include the .txt as an extension to the file name. How can i do that? (2 Replies)
Discussion started by: wizardofoz
2 Replies

5. UNIX for Dummies Questions & Answers

MGET Problem

Hello friends.. I'm new here ate the forum. I came across with it when trying to find a solution for a problem I have and I hope you can help me. I'm an Abap programmer, and I have to make a program in ABAP to copy files from a server to the local computer defined path using FTP commands. ... (5 Replies)
Discussion started by: bleeding_me
5 Replies

6. UNIX Desktop Questions & Answers

How to grep and pipe to mput ftp

I am ptting the following into an FTOP script. date=`TZ="aaa24" date +'%Y%m%d'` # this gets Yesterday date . . . . mput < 'l | grep $Vdate' # the idea to grep a listing from a directory that has yesterday date in its file name then put it in the remote FTP server. How can I get it... (4 Replies)
Discussion started by: raouf@comcast.n
4 Replies

7. Shell Programming and Scripting

SFTP - 'put' doing an 'mput'

Hi guys, I'm having a problem with F-Secure Unix. When I try a simple command; sftp> put local.test remote.test I expect that the local file local.test would be copied to the remote file remote.test However sftp is attempting to copy local.test & remote.test from the local machine, as if... (2 Replies)
Discussion started by: b0bbins
2 Replies

8. Shell Programming and Scripting

mput is not working in ftp script

1)In this script mput command is not working( not transfering multiple files, it is able to send single file) 2)here is the script to automate the ftp process . 3)for transfering files from one machine to other machine using ftp can anyone can give me the solution in this issue Script is... (6 Replies)
Discussion started by: gsri
6 Replies

9. Solaris

FTP limits - mput *

I am trying to upload via FTP 11,000 files in a Solaris 8 system. I am using Windows 2000 and its FTP client to upload the files. The command used is mput *.jpg.When the quantity of files reaches 10,000 the upload aborts. Is this problem related with the FTP client ? If yes, another FTP client... (2 Replies)
Discussion started by: waldecy
2 Replies

10. UNIX for Dummies Questions & Answers

mget

hi, i want to mget a directory. how to specify the flag that i dont want the system to prompt me? thanks (2 Replies)
Discussion started by: yls177
2 Replies
Login or Register to Ask a Question