06-29-2011
Quote:
FTP does not work for me as it does not allow renaming of files.
Relative to the server which initiates the ftp, there is no ftp "rename" command for local files but there is ftp "rename" for remote files (subject to directory permissions). Note that the command is actually "rename" not "mv".
It is conventional to ftp files under a temporary name then rename them after a successful transfer.
Assuming you will be initating the the ftp from the master computer you could rename the target file just before renaming the file you transferred successfully under a temporary name.
You can ftp to "localhost" if it is important to use ftp to rename local files but most scripters would just use shell commands.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
how do i copy a file from one server to another
thanks
bkan77 (4 Replies)
Discussion started by: bkan77
4 Replies
2. UNIX for Dummies Questions & Answers
Dear all,
Can anybody let me know how to automate a file transfer process to a remote m/c thru SFTP , automate means it will not prmpt for password.
how i am going to achive this....and what all methods are available or tools are available ???? (2 Replies)
Discussion started by: manas_ranjan
2 Replies
3. UNIX for Advanced & Expert Users
I know this is probably a question for the newbie forum, where it is also posted, but I thought maybe some of you pros might like to help me out anyway. Here is my problem:
I have to rename a batch of files that look like:
2001_0001.asc
2001_0002.asc
.
2001_0548.asc
2002_0184.asc
.
.... (0 Replies)
Discussion started by: sea krait
0 Replies
4. UNIX for Dummies Questions & Answers
So, I am so new that I can't even call myself a unix user. I have an aptitude for programing, but I don't know the language. Anyway, here is my problem:
I have to rename a batch of files that look like:
2001_0001.asc
2001_0002.asc
.
.
.
2006_0548.asc
The names are a date code, but... (1 Reply)
Discussion started by: sea krait
1 Replies
5. Shell Programming and Scripting
I have a file in which email messages are stored in. Every email is separated by by a ^Z character (Control-Z).
I need to extract all emails after the 65,00th one to another file and delete them from the original file.
Any suggests on accomplishing this? (2 Replies)
Discussion started by: maxcell
2 Replies
6. Shell Programming and Scripting
Hi All,
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
2 Replies
7. SCO
I'm looking for a 25-user AFPS license - this was a product available on SCO UnixWare 7.1.3 (was superseded by Samba in 7.1.4)
Anyone have one sitting at the back of a cupboard/drawer/garage...
I have a buyer lined up! (1 Reply)
Discussion started by: billbateson
1 Replies
8. Shell Programming and Scripting
Hi,
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
14 Replies
9. Shell Programming and Scripting
Hi. I am not sure the title gives an optimal description of what I want to do. Also, I tried to post this in the "UNIX for Dummies Questions & Answers", but it seems no-one was able to help out.
I have several text files that contain data in many columns. All the files are organized the same... (14 Replies)
Discussion started by: JamesT
14 Replies
10. UNIX for Advanced & Expert Users
When using FTP to transfer a file from IBM iSeries family of servers client to a non IBM Iseries family server, files might have characters appear in the wrong format
Eg | in Iseries and while transferring fro Iseries system to Linux , but instead of | it is showing as ?.
Please advise (3 Replies)
Discussion started by: sudhainit
3 Replies
LEARN ABOUT DEBIAN
apertium-transfer
apertium-transfer(1) apertium-transfer(1)
NAME
apertium-transfer - This application is part of ( apertium )
This tool is part of the apertium open-source machine translation toolbox: http://www.apertium.org.
SYNOPSIS
apertium-transfer trules preproc biltrans [input [output]] apertium-transfer -n trules preproc [input [output]]
DESCRIPTION
apertium-transfer is the program that performs the transfer from input language into output language. Normally this program will not be
used independently, but in combination with other programs: see apertium-translator (1).
FILES
These are the five files that can be used with this command:
trules Transfer rules file
preproc Result of preprocess trules file
biltrans Bilingual letter transducer file
infile Input file (stdin by default).
outfile Output file (stdout by default). -n Do not use a bilingual dictionary to process the input.
SEE ALSO
apertium-translator(1), apertium (1).
BUGS
Lots of...lurking in the dark and waiting for you!
AUTHOR
Copyright (c) 2005, 2006 Universitat d'Alacant / Universidad de Alicante. This is free software. You may redistribute copies of it under
the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
2006-03-08 apertium-transfer(1)