Can scp be used to keep timestamps in the original timezone?

Solution In Progress - Updated -

Issue

The scp command is used to transfer files between systems in different timezones. Is it possible to keep timestamps so that the ls command shows the same time on the destination system as it was in the source one, while the timezone being different?

Environment

RHEL, any version

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.