UNIX requirement

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers UNIX requirement
# 1  
Old 12-23-2016
UNIX requirement

Hi Everyone,

Can anyone of you help me on how to get files creation time on ftp server/Remote server in unix.

Regards,
Avinash.
# 2  
Old 12-23-2016
Not in all *nix file systems the creation time is retained, they have access, modification, and change time unless additional measures are taken. So, YMMV.
man ftp:
Quote:
modtime file-name
Show the last modification time of the file on the remote machine.
# 3  
Old 12-23-2016
Hi Rudic,

I tried by executing modtime(modtime xyz.csv) filename command but it was showing an exception that 'not found'.
# 4  
Old 12-23-2016
Might help to know the operating system and file system type of the ftp server?
# 5  
Old 12-26-2016
Hi,

We are using AIX Version 7.1

Regards,
Avinash.
# 6  
Old 12-26-2016
Having UNIX Requirement as a thread title gives us no indication of what you are trying to do. In the future, please select a title that gives people scanning threads some idea of what topic is being discussed.

If you look at another thread that was started about a week ago (Bash directory loop and order by creation date?), you'll see that this topic has already been discussed in detail. There is a high probability that what you want is not available on AIX, and since you still haven't told us what filesystem type you're using, there is no way for us to make any attempt to determine if the files on the filesystem you're using have a file creation date timestamp.

Our crystal balls cannot clearly see through your posts to determine the information we need to be able to tell you that the information you want is definitely not available; or if it is available, tell you how to get it. If you don't answer our questions or read the manuals on your own, there is no way for us to guess at how to satisfy your requirement or even if it is possible to satisfy your requirements.
This User Gave Thanks to Don Cragun For This Post:
# 7  
Old 12-26-2016
Quote:
Originally Posted by Don Cragun
Our crystal balls cannot clearly see through your posts to determine the information we need
Amen to that! ~Sigh~

Quote:
Originally Posted by Don Cragun
and since you still haven't told us what filesystem type you're using
If the "ftp server / remote server" thread o/p is talking about is AIX 7.1 too, then most probably it is JFS2. Everything else (especially the predecessor JFS) would be rather far-fetched.

Still, the point remains, that thread-o/p is not willing to supply needed information. I could understand that s/he is not able to provide it, but: in this case at least say so! We might be able to provide you with the means (read: commands) to find out, but only if you tell us where you are stuck!

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script requirement

Please help in creating script for below requirement. I will be running 1 command and will get below entries in a text file say file44.txt ******************************* DFDL1005 06:30 00:05 ABFL2003 10/22 01:10 CFTL1256 10/24 00:10 10/25 09:20 PM ******************************** .... (3 Replies)
Discussion started by: Vinay_3308
3 Replies

2. Shell Programming and Scripting

Requirement of Spliting a text file in UNIX Programing

Hi, There is a requirement, needs to split the text file based on RC code present in text file. For this, needs to write a unix shell programing script for the above requirement. For example in text file, if there are distinct RC codes, then we needs to split into multiple text files. In... (1 Reply)
Discussion started by: Chandra2678
1 Replies

3. Shell Programming and Scripting

UNIX - requirement

Hi All, I have a source file with data Name ~ Groups Muni~abc,was,USA_ax,123 Chaitanya~USA_12,was Balaji~123,xyz,was Ramu~123,xyz From the second column i want to extract only the groups that matches the pattern 'USA_%' or if the group = 'was', and ignore any other columns. ... (8 Replies)
Discussion started by: morbid_angel
8 Replies

4. Shell Programming and Scripting

Looping requirement

Hi all, I have little working knowledge in unix shell scripting. I have a requirement where i need to pull out some data in between the strings in the file. Input: TEST a a c f d TEST f e g g TEST Output: (7 Replies)
Discussion started by: satyasrin82
7 Replies

5. Shell Programming and Scripting

URGENT REQUIREMENT

1.Write an automated shell program(s) that can create, monitor the log files and report the issues for matching pattern. (i) Conditions for creating log files. Log file is created with date (example 2010_03_27.log). If the log file size is 10 Mb for a particular day then automatically the log... (3 Replies)
Discussion started by: praveen12
3 Replies

6. Shell Programming and Scripting

Requirement

I am trying to script and came up with a conclusion that I need a do while loop in my statement. I am stuck with the do while syntax. I need to use it alongwith the if then else statement. Can I use it is a big question? I actually need to get all the files that are there from within run_dt to... (1 Reply)
Discussion started by: aronmelon
1 Replies

7. AIX

SPOT requirement

Hey May be a dumb question Can I use a SPOT which is at 5.3 TL6 to boot an LPAR (with 5.3 TL8) in to maintenance mode? Will it work ? Is it mandatory that SPOT should be of same or higher version in such case? Bala (1 Reply)
Discussion started by: balaji_prk
1 Replies

8. UNIX for Dummies Questions & Answers

system requirement for unix

I want to try running the free down load from sun, their solaris 8. I have an intel pentium 3, 550 mhz, 8 GB drive, with 128 ram. I this anough to run a unix os like solaris 8. Also is their a browser that I could use with solaris8 so as to connect to the internet. Does ie have a version for unix.... (3 Replies)
Discussion started by: gparsons70
3 Replies
Login or Register to Ask a Question

Featured Tech Videos