04-23-2013
This is what my initial posting was .Sorry if the message was not conveyed properly .
I have a list of file names in a file and would like to search/grep the same names in the list of files on the ftp server and output to a file.
Let me brief it again .
my file.txt has few numbers
Ftp server has list of 13000 files.
based on my list which has 10 or 100 names of the file names and i want to see if those 10 or 100 files present on the FTP server and output to the file
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have script which downloads the build and copies onto the local machine
I am able to download files in a directory, but unable to get the files in subdierctories.
I am using finddepth to search for sub directories but I am unable to do so.
Here is my code:
... (0 Replies)
Discussion started by: gurukottur
0 Replies
2. Shell Programming and Scripting
Hi All,
I have a file that I need to be able to find a pattern match on a line, search that line for a text pattern, and replace that text.
An example of 4 lines in my file is:
1. MatchText_randomNumberOfText moreData ReplaceMe moreData
2. MatchText_randomNumberOfText moreData moreData... (4 Replies)
Discussion started by: Crypto
4 Replies
3. Shell Programming and Scripting
Dear All,
i want to search particular string and want to replance next line value.
following is the test file.
search string is
tmp,???
,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50
tmp,123 --- if match tmp,??? then... (3 Replies)
Discussion started by: arvindng
3 Replies
4. UNIX for Dummies Questions & Answers
Could someone help me in recursive search and ftp'ing the files to remote server?
The host machine will have
/dir1/dira/list_of_files1
/dir1/dirb/list_of_files2
/dir1/dirc/list_of_files3
.
.
.
so., I need to search from dir1 recursively (only one level down) and find all the files that... (1 Reply)
Discussion started by: brahmi
1 Replies
5. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
6. Shell Programming and Scripting
Hi ,
I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code.
my $current_value=12345;
my @users=("bob","ben","tom","harry");
open DBLIST,"<","/var/tmp/DBinfo";
my @input = <DBLIST>;
foreach (@users)
{
my... (11 Replies)
Discussion started by: chidori
11 Replies
7. Shell Programming and Scripting
#Build label and text box
$main->Label(
-text => "Input string below:"
)->pack();
$main->Entry(
-textvariable => \$text456
)->pack();
$main->Button(
-text => "Search",
-command =>
sub {
errchk ($text456)
... (4 Replies)
Discussion started by: popeye
4 Replies
8. UNIX for Beginners Questions & Answers
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
9. UNIX for Beginners Questions & Answers
Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried:
grep -lr "this string" *
but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
LEARN ABOUT OSX
productsign
productsign(1) BSD General Commands Manual productsign(1)
NAME
productsign -- Sign an OS X Installer product archive
SYNOPSIS
productsign [options] --sign identity input-product-path output-product-path
DESCRIPTION
productsign adds a digital signature to a product archive previously created with productbuild(1). Although you can add a digital signature
at the time you run productbuild(1), you may wish to add a signature later, once the product archive has been tested and is ready to deploy.
If you run productsign on a product archive that was previously signed, the existing signature will be replaced.
To sign a product archive, you will need to have a certificate and corresponding private key -- together called an ``identity'' -- in one of
your accessible keychains. To add a signature, specify the name of the identity using the --sign option. The identity's name is the same as
the ``Common Name'' of the certificate.
If you want to search for the identity in a specific keychain, specify the path to the keychain file using the --keychain option. Otherwise,
the default keychain search path is used.
productsign will embed the signing certificate in the product archive, as well as any intermediate certificates that are found in the key-
chain. If you need to embed additional certificates to form a chain of trust between the signing certificate and a trusted root certificate
on the system, use the --cert option to give the Common Name of the intermediate certificate. Multiple --cert options may be used to embed
multiple intermediate certificates.
The signature can optionally include a trusted timestamp. This is enabled by default when signing with a Developer ID identity, but it can be
enabled explicitly using the --timestamp option. A timestamp server must be contacted to embed a trusted timestamp. If you aren't connected
to the Internet, you can use --timestamp=none to disable timestamps, even for a Developer ID identity.
ARGUMENTS AND OPTIONS
--sign identity-name
The name of the identity to use for signing the product archive.
--keychain keychain-path
Specify a specific keychain to search for the signing identity.
--cert certificate-name
Specify an intermediate certificate to be embedded in the product archive.
--timestamp
Include a trusted timestamp with the signature.
--timestamp=none
Disable trusted timestamp, regardless of identity.
input-product-path
The product archive to be signed.
output-product-path
The path to which the signed product archive will be written. Must not be the same as input-product-path.
SEE ALSO
productbuild(1)
Mac OS September 15, 2010 Mac OS