05-02-2003
I decided to try it so I zipped a couple files and ftp'ed them to another server .. it worked, the creation times were preserved for the files inside the zip file ..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can you ftp (get) a file from another server and keep the timestamp on the file that is on the other server?
ie.
server1
server2 - Mar 12 12:30 /filename1
On Mar 15 at 13:00
server1 ftp to server2 and get /filename1
I want the file filename1 to have the date (Mar 12 12:30) on the file... (2 Replies)
Discussion started by: frustrated1
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
Is it possible to Ftp the files from Windows to Unix while maintaining their timestamp
Gaurav (1 Reply)
Discussion started by: gauravgoel
1 Replies
3. Shell Programming and Scripting
Hi,
I am searching for a way to change the display format of the timestamp from an FTP server.
From a SOLARIS 9 server (ksh) I am connecting with a shell script using Ncftp to an FTP remote server.
This script is making a list of available files on that FTP server. All files are listed with... (0 Replies)
Discussion started by: Aswex
0 Replies
4. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
Discussion started by: mailsara
2 Replies
6. Shell Programming and Scripting
I need to be able to identify files with file timestamps greater than a given timestamp.
I am using the following solution, although it appears to compare files at the "seconds" granularity and I need it at the milliseconds. When I tested my solution, it missed files that had timestamps... (3 Replies)
Discussion started by: nkm0brm
3 Replies
7. Shell Programming and Scripting
Hello
Need help with shell script
There is are files on my ftp. They overwriting every hour from other places.
ls -la /home/ftp/
-rw-r--r-- 1 ftp nogroup 2296 2012-08-11 12:59 G1.zip
-rw-r--r-- 1 ftp nogroup 6676 2012-08-11 13:00 KRT1.zip
-rw-r--r-- 1 ftp nogroup 5169... (3 Replies)
Discussion started by: ck80
3 Replies
8. Shell Programming and Scripting
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Discussion started by: srkmish
12 Replies
9. Shell Programming and Scripting
Hello ,
I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by
EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt
Contents of... (6 Replies)
Discussion started by: rahul2662
6 Replies
10. Shell Programming and Scripting
So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings. ... (1 Reply)
Discussion started by: nms
1 Replies
LEARN ABOUT NETBSD
sysinst
SYSINST(8) BSD System Manager's Manual SYSINST(8)
NAME
sysinst -- install or upgrade a NetBSD system
SYNOPSIS
sysinst [-D] [-f deffile] [-r releasename]
DESCRIPTION
sysinst is a menu-based program that may be used to install or upgrade a NetBSD system. It is usually invoked automatically when the system
is booted from appropriate installation media.
sysinst is usually not present on a NetBSD system that has been fully installed.
OPTIONS
-D Switch on debugging.
-r releasename Set the releasename if it is different to the one compiled. Currently unused.
-f deffile Set a file for definitions other than the defaults. See DEFINITION FILE for its format.
DEFINITION FILE
The definition file is used to set several other names and directories to search for. You can specify any of the options in the file. They
are stored as:
option = value
pairs. In this description, REL and MACH are the release and architecture respectively, determined by the image sysinst is used on.
option name default value description
release REL Release name (also set by -r releasename).
machine MACH Machine architecture
xfer dir /usr/INSTALL Transfer dir
ext dir Extract dir (will usually be set later on)
ftp host ftp.NetBSD.org ftp host for fetching files
ftp dir pub/NetBSD/NetBSD-REL ftp directory for fetching files
ftp prefix /MACH/binary/sets directory to look for sets. Note that this is used for all kinds of fetching (CDs, local FS,
...), not only ftp.
ftp user ftp ftp user for connecting
ftp pass - ftp password
ftp proxy - ftp proxy
nfs host - nfs host for fetching via nfs
nfs dir /bsd/release nfs directory for fetching files
cd dev cd0a name of the CD device for fetching files
fd dev /dev/fd0a name of floppy for fetching files
local dev - Other device to be mounted for fetching files
local fs ffs FS-type for local dev
local dir release Directory to look for in the mounted local fs
targetroot mount /targetroot Directory to mount target root dir to
dist postfix .tgz Suffix of set files to be extracted
diskname mydisk disktab(5) diskname to use for target disk
SEE ALSO
release(7), afterboot(8), boot(8), diskless(8)
<machine>/INSTALL.* files on CD-ROM installation media .../NetBSD-<rel>/<machine>/INSTALL.* files in NetBSD releases or snapshots.
HISTORY
A sysinst command appeared in NetBSD 1.3.
BSD
September 17, 2011 BSD