Sponsored Content
Top Forums Shell Programming and Scripting Renaming multiple files in sftp server in a get files script Post 302926533 by jhilmil on Tuesday 25th of November 2014 04:31:36 AM
Old 11-25-2014
Hi,

I understood the awk command but not the sed. Anyways, I tried using both the commands, but they are not renaming the files on remote server, even though the files are fetched.

Please give me another solution
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Utility or script for renaming files on UNIX web server

Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities for Windows, but none for UNIX. I have 10,000 files that I need to rename in a several tier (deep) web site directory. I have the original... (1 Reply)
Discussion started by: everettr
1 Replies

2. Shell Programming and Scripting

Utility or script for renaming files on UNIX web server

Greetings! Does anyone know of a utility or a script for renaming files on a UNIX web server? I've seen several of these types of renaming utilities for Windows, but none for UNIX. I have 10,000 files that I need to rename in a several tier (deep) web site directory. I have the original... (2 Replies)
Discussion started by: everettr
2 Replies

3. Solaris

how to get multiple files using sftp from a windows server

I need to get multiple files from a windows server to a solaris server using sftp, I tried it but only can get one file at a time ( I'm unable to use a wild card character using sftp) hoe do i do this. any light on this is appreciated. Ram. (3 Replies)
Discussion started by: ramky79
3 Replies

4. Shell Programming and Scripting

Renaming multiple files with a shell script

Hey guys, I'm really new to UNIX and shell scripting in general. For my internship I need to rename a bunch of files. Specifically, I need to change the first letter of each of the files to lowercase and I have to change the endings so they all basically look like "file_cone.jpg". I know I... (4 Replies)
Discussion started by: jjzieve
4 Replies

5. Shell Programming and Scripting

bulk renaming of files in sftp using script

Hi, Am using sftp (dsa method) to transfer 20 files from one server(sftp) to another (local). After the transfer is complete the files in the sftp server has to be renamed from .txt extension to .done extension ( aa.txt to aa.done, bb.txt to bb.done and likewise...). I tried rename command... (4 Replies)
Discussion started by: Sindhuap
4 Replies

6. Shell Programming and Scripting

Renaming Multiple Files in FTP Server

Hi Friends, I have a requirement to get multiple files from ftp(remote) server and once the files is copied to local machine , I need to move the files on to a different directory in ftp machine. FTP Machine : 9.9.999.999 Source File Directory : /ftpuser File Pattern: TMS* Now I have... (1 Reply)
Discussion started by: lokeshbao87
1 Replies

7. Solaris

Script to get files from remote server to local server through sftp without prompting for password

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

8. HP-UX

Shell script to sftp files to file server.

Hi, I am looking for a shell script to sftp to a file server and copy all the files from a directory after the script is run. The server name should be a user input parameter and of-course the username/password as well. Rest all should be handled by the script. I tried with below snippet:-... (2 Replies)
Discussion started by: happysingh
2 Replies

9. Shell Programming and Scripting

Sftp script to get multiple files at the same time

i have to log into an sftp server to get multiple files. im typing this post from a remote location and i dont have the script i wrote with me. but i got the sftp script to work by logging into the sftp server file by file. meaning, sftp to the server, "mget -p" or "get -p" one file at a time.... (4 Replies)
Discussion started by: SkySmart
4 Replies

10. Shell Programming and Scripting

Rename (move) multiple files on remote server using sftp

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
uuxqt(1)						      General Commands Manual							  uuxqt(1)

NAME
uuxqt - Executes remote command requests SYNOPSIS
uuxqt [-ssystem] [-xdebug_level] The uuxqt program executes specified commands on designated remote systems. OPTIONS
Specifies the name of the remote system. Use this option only when starting uuxqt manually. The remote system name is supplied internally when uuxqt is started automatically. Displays debugging information on the screen of the local system; debug_level is a single digit between 0 and 9. The higher the number specified, the more detailed the debugging information displayed. DESCRIPTION
When uux is entered by a user, the program creates the necessary C.* (Command), D.* (Data), and X.* (Execute) files and places them in the spooling directory on the designated remote system. The uux command then calls the uucico daemon which in turn, tries to contact the designated system to deliver the files. When the files are transferred, uuxqt executes the commands on the designated system. The uuxqt program searches the spool directories on the designated system for the X.* (Execute) files whose names indicate that they were sent from another system. The command checks each X.* file for the following: All of the required D.* (Data) files must be available and accessible. File commands must be permitted for the requesting system. The uuxqt program can be executed manually by a user with superuser privileges. This daemon is executed automatically by the uudemon.hour shell script, which is started periodically by cron. FILES
Lock file which prevents multiple use of device Limits number of remote command executions Access permission codes SEE ALSO
Commands: uucico(8), uucp(1), uustat(1), uux(1) uuxqt(1)
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy