Unix/Linux Go Back    


Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Cygwin_openssh time stamps

Windows & DOS: Issues & Discussions


Tags
solved

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-08-2016
MikeAdkins MikeAdkins is offline
Registered User
 
Join Date: Nov 2016
Last Activity: 8 November 2016, 8:15 AM EST
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Cygwin_openssh time stamps

I've installed cygwin_openssh on Windows 2012 R2 and it's working great. My issue is when a file is uploaded say from a different timezone, when it is uploaded, it doesnt pick up the sftp servers time.. Is there a way to fix that?

i.e. When someone in PST uploads a file to this server in EST, the time stamp on the file shows 09:30 instead of 12:30am and is throwing off some scripts..

---------- Post updated at 07:19 AM ---------- Previous update was at 07:08 AM ----------

Nevermind..

put - nopreservetime took care of it


Moderator's Comments:
Cygwin_openssh time stamps Please use CODE tags as required by forum rules!

Last edited by RudiC; 11-08-2016 at 07:46 AM.. Reason: Added CODE tags.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to get the Logs between two Time Stamps? amitgpta90 Shell Programming and Scripting 6 01-12-2015 04:13 AM
Increment time stamps. jiam912 Shell Programming and Scripting 11 02-13-2013 05:49 AM
Time difference between two time stamps i150371485 Shell Programming and Scripting 2 07-24-2012 05:36 AM
comparing time stamps RSC1985 Shell Programming and Scripting 9 07-23-2009 11:51 PM
comparing time stamps RSC1985 UNIX for Dummies Questions & Answers 1 07-21-2009 05:48 AM



All times are GMT -4. The time now is 08:58 PM.