Help required to find file transfer date


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Help required to find file transfer date
# 1  
Old 11-07-2016
Help required to find file transfer date

Hi All,

I have automatic process to transfer certain files from Sever A to Server B.

On Server B, When i use ls -lrt command , it will provide me the date when that particular file was created on server A.

I wan to find out that when that particular file was transferred to Server B (i don't need file creation date). can you please suggest me the command to achieve this.

Thanks in Advance.

Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 11-07-2016 at 12:45 PM.. Reason: Added ICODE tags.
# 2  
Old 11-07-2016
You would have to know how it was transeferred ( with what utility...) and if the utility used logs its activity...
# 3  
Old 11-07-2016
Welcome a007,

I have a few to questions pose in response first:-
  • What have you tried so far?
  • What output/errors do you get? (Please past these wrapped in [CODE] & [/CODE] tags)
  • What OS and version are you using?
  • What tools are you using? (tar, cpio, ftp, sftp, rcp, scp, ........)
Most importantly, What have you tried so far?

It would seem that whatever you are using saves the original modification time. You don't say how the transfer is done so I'm left a bit stumped on how to help. Can you elaborate?



Kind regards,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find and delete file previous to some date

Hello All, I have a directory containing of many .dat file, but with different naming conventions. I want to delete files which are created before and on 10th September 2013. I tried this command to see files which are are the files created before 10th September find path/to/file -type... (6 Replies)
Discussion started by: nnani
6 Replies

2. Shell Programming and Scripting

find date in name of file

hlow i have file like this format: 23312100.2011091617522800CF5253.DAT so i want get date (yyyymmdd) for rename again this file like this 20110916.DAT how can i do that any idea about using awk with regex thx before (1 Reply)
Discussion started by: zvtral
1 Replies

3. OS X (Apple)

How to get the file creation date with find command

Is it possible to find all files based on the date of creation? And if so, how? I've been looking at the find command but it seems that only modification times are used as an option. (1 Reply)
Discussion started by: Straitsfan
1 Replies

4. Shell Programming and Scripting

Find file with exact access date

Hi I have to write command that find the files/dirs in the directory with access date equal to timestamp. ie or to be more precise I need to find files which are not equal to given timestamp drwxr-xr-x 2 oracle oinstall 4096 May 31 2007 tmp so need to have something like find . *... (2 Replies)
Discussion started by: zam
2 Replies

5. Solaris

Find a file and xarg mv to append date to file

Hello All, What I would like to do is search for a file and then run a mv command to rename the file to have todays date appended to it. The find when I run it finds eight or so files and I would like to append a date stamp to each file. If possible using one line command would be great. Can... (6 Replies)
Discussion started by: jacktravine
6 Replies

6. Shell Programming and Scripting

how to find creation date of file

Hi, I just need to know way of getting date of file when it was created. eg i have a file abc created on 23 aug. Now i need to know date of file i.e. 23 aug. How can i get that data. Thanks Sarbjit (7 Replies)
Discussion started by: sarbjit
7 Replies

7. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

8. Shell Programming and Scripting

Find the file names from date/time: Need help

Hi All, I really need help in figuring out how to determine the filenames from the time that is specified as parameter. The script should take as input - the start time and end time in minutes and also start date and end date. Example: reporter.sh -instance Instance_Name -startTime 13:10... (0 Replies)
Discussion started by: chiru_h
0 Replies

9. UNIX for Advanced & Expert Users

Find file size and date

Hi in my shell script I have to do this 1. there is a file called testing.txt in /home/report directory If the file size is 0(zero) and date is today's date, then I have to print "Successful" else "Failed". 2. There is a file called number.txt which will have text only one line like this... (10 Replies)
Discussion started by: gsusarla
10 Replies

10. Shell Programming and Scripting

Need to find created date of file in UNIX

I need to write a script which has to list all the files which are created before six months from now. kindly help on this ... (7 Replies)
Discussion started by: amirthraj_12
7 Replies
Login or Register to Ask a Question