04-14-2011
Hello Chubler ,
I have resolved this issue by myself ....But you only responded here and proposed some solution ...Thanks for your help again
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Is there a way to use wc, sed or other commands against remote sftp in a regular shell script?
wc -c *.* | grep total | sed s/total// ?
thanks in advance (0 Replies)
Discussion started by: chm0dvii
0 Replies
2. Shell Programming and Scripting
Hi All,
i want to setup a STPF setting to a remote server.
Could you please help on this. The setting i have done but its still asking for password.
Could anyone throw some light on the same?
Thanks in advance.
Pankaj (1 Reply)
Discussion started by: panknil
1 Replies
3. Shell Programming and Scripting
Hello,
I wrote a basic script that works however I am was wondering if it could be sped up. I am comparing files over ssh to remove the file from the source server directory if a match occurs. Please Advise me on my mistakes.
#!/bin/bash
for file in `ls /export/home/podcast2/"$1" ` ; do
... (5 Replies)
Discussion started by: jaysunn
5 Replies
4. Red Hat
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Discussion started by: bobby320
8 Replies
5. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
6. UNIX for Dummies Questions & Answers
Hi guys
In this scenario, i have been able to transfer the file from a remote server to my local server, but how to delete the file from remote server once its copied. I am using this command
MYFILE=/tmp/MyFiLe.$$
echo rm FROM_DIR/K* >$MYFILE
then sftp -b $MYFILE
rm -f $MYFILE
and I have... (1 Reply)
Discussion started by: rubel
1 Replies
7. UNIX for Advanced & Expert Users
Hi All,While sftp from remote server an error (/) is coming before the file in a script.Please find the below log. The file is on home directory on remote server. (6 Replies)
Discussion started by: kiranparsha
6 Replies
8. Shell Programming and Scripting
I need to sftp a file ABC_sysdate.csv (File name with system date and timestamp) to a temporary directory on the remote server and once the file is copied I've to move the file from temporary directory to the main directory with the same name.
I have to generate a new file every hour and repeat... (6 Replies)
Discussion started by: srinup
6 Replies
9. Shell Programming and Scripting
Hello,
In our Data Warehouse environment, before our batch SFTP jobs kick off to pull the files from remote servers, I would like to setup a pre-sftp job that would test if all the remote servers from where the files are being pulled, are up and running. If any one of the remote serer is... (2 Replies)
Discussion started by: Dippu
2 Replies
10. Shell Programming and Scripting
I want to rename (move) multiple files on remote server. I tried the following command to move all TXT files from my_dir directory to /new_dir. But it does not work. Any help?
#!/bin/ksh
sftp -dev3 << ABC
cd my_dir
$(for i in TXT; do echo "ls *.$i" ; rename $x /new_dir/$x;... (1 Reply)
Discussion started by: Soham
1 Replies
LEARN ABOUT DEBIAN
apt-cudf-get
APT-CUDF-GET(8) DOSE Tools APT-CUDF-GET(8)
NAME
apt-cudf-get - wrapper for calling apt-get with external solvers
SYNOPSIS
apt-cudf-get [arguments]
DESCRIPTION
apt-cudf-get is a wrapper that allows to invoke apt-get with external solvers while ignoring apt's pinning.
All options are passed on to apt-get.
Normally, apt uses so-called pinning to select a candidate version of a package in case there are several versions available. This also
holds when calling apt-get with external solvers. However, when it is not possible to find a solution under this constraint, it may be
useful to relax pinning and to allow the external solver to choose among all available versions of packages in order to satisfy
dependencies, not only those that are selected by the pinning. This is precisely what apt-cudf-get does.
Note that, when using an external solver, the proposed solution may contain any available version of the packages that are given as
arguments to install on the command line without specifying a version qualifier.
For example
apt-cudf-get --solver aspcud install ocaml
may propose to install any available version of ocaml, while
apt-cudf-get --solver aspcud install ocaml=4.01.0
will only propose to install ocaml in version 4.01.0
AUTHOR
Pietro Abate and Roberto Di Cosmo
BUGS
Not all types of arguements to apt are correctly treated by this wrapper, in particular not the +pkg and -pkg shorthands for installation
and removal requests.
SEE ALSO
apt-get(8), apt-cudf(1), apt-cudf.conf(5), update-cudf-solvers(8), README.cudf-solvers
<file:///usr/share/doc/apt-cudf/README.cudf-solvers>, README.Debian <file:///usr/share/doc/apt-cudf/README.Debian>
dose3 3.0.2 2012-06-25 APT-CUDF-GET(8)