Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Shell script to get all the files from FTP server Post 302458275 by otheus on Thursday 30th of September 2010 09:31:29 AM
Old 09-30-2010
Sexy. I like that. How do install ruby? Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to move a file from one server to another server using FTP in shell script?

I have a file --> file1.txt i need to copy this file to another server using FTP....the 2 servers are server1 and server2..may i know how to write a script that can do this? thanks in advance! Im a newbie to this... (4 Replies)
Discussion started by: forevercalz
4 Replies

2. Shell Programming and Scripting

Shell Script to ftp from windows server

Hello All, I've to write a shell script to transfer some files to/from windows server. I can put & get files simply by doing ftp but need to automate this. So I tried for this -. HOST=.hostname USER='username' PASSWD='***' ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS... (8 Replies)
Discussion started by: shilpa.rajput
8 Replies

3. Shell Programming and Scripting

FTP from Linux to windows server by shell script

Hi, Please advice whether my below requirement is feasible, My requirement : Automated FTP from linux server to windows server using a shell script on every monday. If feasible, please help me how to do this ? Thanks in advance (2 Replies)
Discussion started by: apsprabhu
2 Replies

4. Shell Programming and Scripting

Shell script for FTP a file from one server to another server

Hi Can any one help me for script. I need a script and this script has to execute daily to move the files. FTP from one server to another server EX: Sep 10 06:24 abc.txt Sep 11 06.56 abc.txt Sep 12 08.23 abc.txt these files are located at a/b/c/e/f in 123 server and copy... (0 Replies)
Discussion started by: mahantysk
0 Replies

5. Shell Programming and Scripting

shell script to ftp the files from windows to unix server

Hi, I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine. Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the... (10 Replies)
Discussion started by: kavithakuttyk
10 Replies

6. UNIX for Dummies Questions & Answers

ftp files from one server to another using shell script

Hi Guys Any Help I have created a spool file that i need to copy onto another server using FTP in a shell script both servers are linux (3 Replies)
Discussion started by: itai
3 Replies

7. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

8. Shell Programming and Scripting

Automated script to look for files in FTP Server location.

suppose one file comes in one sever location on MOnday.we have to write a script to automatically get that files and put it in different server location. ---------- Post updated at 10:28 AM ---------- Previous update was at 10:27 AM ---------- Please help me on this (2 Replies)
Discussion started by: sonam273
2 Replies

9. Shell Programming and Scripting

Need help creating a script to FTP files to a server and then delete the files that were transfered.

I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies

10. Shell Programming and Scripting

Download latest file via ftp server unix through shell script

Hello this is my first post in this forum , I dont want to be unhappy.. I am writing one script but facing difficulty to find the latest file with some new pattern My requirement is 1. The file is coming like "ABCD-23220140303" at FTP server once in a week. 2. script will run on daily... (3 Replies)
Discussion started by: ajju
3 Replies
GEM2DEB(1)																GEM2DEB(1)

NAME
gem2deb - converts Rubygems' .gem file into Debian package SYNOPSIS
gem2deb [OPTIONS] GEMNAME (to download the gem with gem fetch) gem2deb [OPTIONS] GEMFILE (to use a local .gem file) DESCRIPTION
gem2deb converts the gem into a Debian source package, and then will attempt to build it. The process is made of several steps. First, gem2deb converts the gem file to a tar.gz archive containing a metadata.yml file with the Gem specification. This is equivalent to what gem2tgz does. Then, gem2deb unpacks the tar.gz archive and prepares a Debian source package, guess many of the defaults from the files included in the archive, or the Gem specification. This is equivalent to what dh-make-ruby does. gem2deb cannot determine all parameters for obvious reasons. It is recommended to search for the "FIXME" string in the debian/ directory. The generated Debian source package uses dh_ruby to build the package. Finally, gem2deb tries to build the source and binary packages using dpkg-buildpackage. OPTIONS
-t, --only-tarball Stop after creating the tar.gz archive. -s, --only-source-dir Stop after preparing the Debian source package directory (do not attempt to build the package). -S, --only-debian-source Only build a Debian source package (do not build binary packages). -p PACKAGE, --package PACKAGE Specify package name (default: ruby-*). Passed to dh-make-ruby. See dh-make-ruby(1). --ruby-versions VERSIONS Ruby versions to build the package for (default: all). Passed to dh-make-ruby. See dh-make-ruby(1). -h, --help Displays gem2deb usage information. -v, --version Displays gem2deb version information. HOW THE .GEM ->; .TGZ CONVERSION WORKS A gem named mygem-0.1.0.gem is converted in a tarball with (approximately) the following steps: mkdir mygem-0.1.0 cd mygem-0.1.0 tar xfm /absolute/path/to/mygem-0.1.0.gem tar xzfm data.tar.gz zcat metadata.gz > metadata.yml rm -f data.tar.gz metadata.gz cd .. tar czf mygem-0.1.0.tar.gz mygem-0.1.0 rm -rf mygem-0.1.0 The generated tarball has the following properties: Files It contains all the files the gem contains. Metadata It contains the gem metadata ends up in a file named ``metadata.yml`` inside the mygem-0.1.0 directory. SEE ALSO
dh_ruby(1) COPYRIGHT AND AUTHORS
Copyright (c) 2011, Lucas Nussbaum <lucas@debian.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 2012-03-06 GEM2DEB(1)
All times are GMT -4. The time now is 06:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy