11-30-2011
How to rename file in FP server with server time stamp?
Hello All,
I am new user in this forum. Facing problem when trying to download file using Perl ::NET:FTP module.
I need to rename the remote server file with latest timestamp of that ftp server. Can somebody help me if this is possible?
Many thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Every One.
I am trying to put a timestemp file to a sever with extention file*.ia ( file*.ia is a time stemp and compress file ).
Then rename it into file*.gz.
My .netrc contant are :
machine xxxx login xxxx password xxxx macdef init
lcd /test/system
cd /infolder
ascii... (2 Replies)
Discussion started by: shah2
2 Replies
2. Shell Programming and Scripting
I would like to know if there is a way to get the date and timestamp of the file that is being FTP from the remote server using shell script. Currently the get command from FTP will have current date and timestamp. Tried the earlier suggestion 'HardFeed' but still getting the current date and time... (12 Replies)
Discussion started by: gthokala
12 Replies
3. Shell Programming and Scripting
We have a requirement wherein we have two servers namely A and B.
Now we have to find out all the files in server B from a given location which have a timestamp greater than a file in server A.
Subsequently we need to concatenate the contents of all these files and replace the same with the file... (3 Replies)
Discussion started by: jasonb
3 Replies
4. Linux
Hi,
I want to rename all the files (more than 100 files) in a fodler to another folder with date&time stamp.
foe eg,
file1.dat
file2.dat
file3.dat
..
to be renamed as
file1100629_16_30_15.txt (yy-mon-dd_hh_mi_ss)
file1100629_16_30_16.txt
..
so on (2 Replies)
Discussion started by: feroz
2 Replies
5. Shell Programming and Scripting
Hi!
Please see our current script:
#!/usr/bin/ksh
if (egrep "This string is found in the log" /a01/bpm.log)
then
mailx -s "Error from log" me@email.com, him@email.com </a01/bpm.log
fi
To the above existing script, we need to add the following change:
1) After finding the string,... (7 Replies)
Discussion started by: atechcorp
7 Replies
6. Shell Programming and Scripting
Hi Guys,
Server time:-
>date
>Wed Nov 14 11:56:23 EST 2012
I want to convert in to Below Formet :-
20121114.1100
And cretae file base on above data : last 48 Hour
20121114.1000 20121114.1100
20121114.0900 20121114.1000
20121114.0800 20121114.0900
20121114.0700 20121114.0800... (2 Replies)
Discussion started by: asavaliya
2 Replies
7. Solaris
Hi all,
I have written the following program and run on both T5440 and T5220 on same OS version. I found that T5540 server takes more time than T5220. Please find below the details.
test1.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20... (17 Replies)
Discussion started by: sanjay_singh85
17 Replies
8. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
9. Shell Programming and Scripting
Experts,
Please help me out here.
How to preserve time stamp while copying a directory from Server B to Server A (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies
10. Shell Programming and Scripting
It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB.
scp user1@serverA:/opt/setup/cash.zip .
Output:
cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA
uname -a
SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies
LEARN ABOUT DEBIAN
bt-obex
bt-obex(1) bluez-tools bt-obex(1)
NAME
bt-obex - a bluetooth OBEX client/server
SYNOPSIS
bt-obex [OPTION...]
Help Options:
-h, --help
Application Options:
-a, --adapter=<name|mac>
-s, --server [<path>]
-p, --opp <name|mac> <file>
-f, --ftp=<name|mac>
DESCRIPTION
This utility implemented support of Object Push Profile (OPP) and File Transfer Profile (FTP). You can send and receive files to/from
remote device using this tool.
OPTIONS
-h, --help
Show help
-a, --adapter <name|mac>
Specify adapter to use by his Name or MAC address
(if this option does not defined - default adapter used)
-s, --server [<path>]
Register agent at OBEX server and set incoming/root directory to
`path` or current folder will be used; Agent is used to
accept/reject incoming bluetooth object push requests
-p, --opp <name|mac> <file>
Send local file to the specified remote device using object push
profile
-f, --ftp <name|mac>
Start FTP session with remote device; If session opened
successfuly, FTP shell will be opened
FTP commands:
help Show help message
exit Close FTP session
cd <folder> Change the current folder of the remote device
mkdir <folder> Create a new folder in the remote device
ls List folder contents
get <src> <dst> Copy the src file (from remote device) to the dst file (on local filesystem)
put <src> <dst> Copy the src file (from local filesystem) to the dst file (on remote device)
cp <src> <dst> Copy a file within the remote device from src file to dst file
mv <src> <dst> Move a file within the remote device from src file to dst file
rm <target> Deletes the specified file/folder
AUTHOR
Alexander Orlenko <zxteam@gmail.com>.
SEE ALSO
bt-adapter(1) bt-agent(1) bt-audio(1) bt-device(1) bt-input(1) bt-monitor(1) bt-network(1) bt-serial(1)
2010-08-16 bt-obex(1)