[olug] copying from UNIX or Linux to DOS and retaining original time stamp

Mr Matt Payne payne68114 at yahoo.com
Sat Nov 24 01:04:46 UTC 2001


Try using putty on the dos side.... 
http://www.chiark.greenend.org.uk/~sgtatham/putty/

The pscp manual
(http://www.tartarus.org/~simon/puttydoc/Chapter4.html#4.2)
says the -p flag is implemented.   This will preserve
file time stamps.

pscp -r -p  payne at ojug.org:junk junkDOS

copy all the stuff (-r recursively) from the directory
~payne/junk on ojug.org into the local directory
junkDOS.  The junkDOS directory will be created.  
The -p flag will preserve time stamps.

I haven't tried it.  Now Windows/DOS computer handy at
the moment but I think it will work..... 

--Matt Payne

--- Brian Roberson <roberson at bstc.net> wrote:
> rsync.
> ----- Original Message -----
> From: "Mike Peterson"
> <mpeterson at charles.coxatwork.com>
> To: <olug at bstc.net>
> Sent: Friday, November 23, 2001 3:10 PM
> Subject: [olug] copying from UNIX or Linux to DOS
> and retaining original
> time stamp
> 
> 
> Does anyone know of any other ways to copy a
> directory structure and all of
> the files in it
> from UNIX or Linux to DOS/Windows and retain the
> dates on all the files and
> directories?
> 
> The only way I can think of is to cpio or maybe tar
> the files and
> directories.
> Then do a binary transfer and then uncpio or untar
> on the DOS drive.
> 
> The files are text source code files that I want to
> archive to a CD with
> there time stamps intact.
> 
> 
> 
> 
> 
> 
>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> 
> For help contact olug-help at bstc.net - run by ezmlm
> to unsubscribe, send mail to
> olug-unsubscribe at bstc.net
> or `mail olug-unsubscribe at bstc.net < /dev/null`
> (c)2001 OLUG http://www.olug.org
> 
>
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the OLUG mailing list