10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
We are receiving data feed files in SFTP location daily. so the folder structure in SFTP location is abc/def/studyname_1/outbound/zipped files
So we will be getting different studies and for each study a folder is created abc/def/studyname_2/outbound/zipped files , ... (7 Replies)
Discussion started by: Sidhant
2. Shell Programming and Scripting
I want to delete a file on the local server, while connected to remote server through FTP.
I am using the below code for this
$FTP_CMD -v -n $HOST <<*! >> $LOGFILE 2>&1
user $USER $PASSWORD
... (11 Replies)
Discussion started by: jhilmil
3. Shell Programming and Scripting
I am facing a problem right now.I have to automate the pickup of files based on a priority.The scenario is as below:
1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so forth till Friday's file which... (1 Reply)
Discussion started by: vikramgk9
4. Shell Programming and Scripting
I need to develop a script which picks the files in a pre-defined order.
The files from monday-friday will be named as abc_01_20130923 as monday's file and abc_02_20130924 as tuesday's..so..so forth till friday's which will be named as abc_05_20130927.It repeats over for the... (3 Replies)
Discussion started by: vikramgk9
5. Shell Programming and Scripting
I have written a small script to transfer a file from one unix server to other using scp command which is working fine. As I know with scp, if any file with the same name is already present on destination server, it would get overwritten without any notification to user. Could anyone help me... (14 Replies)
Discussion started by: dsa
6. Shell Programming and Scripting
I have a file having n number of records .i want first 1000 records from the file and store in temporary file to process on sunday.
I want script should should automatically take the next 1000 records for processing on next sunday.
can we do it using head and tail
head -1000 | tail... (2 Replies)
Discussion started by: sonam273
7. UNIX for Advanced & Expert Users
My requirement is i want to copy files from remote server to the local server and also i need to preserve the timestamp of the remote file.
By using scp -p , it is working fine in the interactive call but it is not preserving he file timestamp when i use it in the non interactive scp call... (1 Reply)
Discussion started by: skumar75
8. Shell Programming and Scripting
Firstly, I have no experience (at all) with shell scripting. So please, go easy on me :)
I did a search for what I was looking for although there were a few things available here and on the net I couldn't find anything tailored to what I am looking for.
Simply put, I have two servers.... (2 Replies)
Discussion started by: lastrider
9. Shell Programming and Scripting
it might not be an sound question,
i have two server like A and B..
i want to transfer file from B to A
..here i have some questions..
1) do we need to create private and public key to connect..and
transferring files...from B to A..?
2) i tried with scp options like... (2 Replies)
Discussion started by: Shahul
10. Shell Programming and Scripting
how to move a file to a different folder after an automated FTP . (1 Reply)
Discussion started by: dineshr85