TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: MIKE RUSKAI
from: Roy J. Tellason
date: 1999-11-22 00:12:20
subject: Copying files and EA`s...

MIKE RUSKAI wrote in a message to PETER KNAPPER:

 MR> Some senseless babbling from Peter Knapper to All
 MR> on 11-20-99  13:36 about Copying files and EA's......

 PK> Hi Folks,

 PK> I wanted to automate the copying of files from one machine to another
 PK> using REXX when a thought struck me. 

 PK> If a file has EA's, does the OS/2 COPY command copy EA's - 
 PK> 1. Between a file copied to the SAME partition?
 PK> 2. Between partitions/drives on the same machine?
 PK> 3. Between machines connected using OS/2 Peer Services? 

 PK> I would expect 1 to be YES, 2 to be YES, 3 possibly...

 PK> Can similar/better functionality be performed using REXX commands,
 PK> ensuring that EA's are also copied in each of the above situations?

 PK> NB: I do not want to split off EA's and re-combine them later...

 MR> The answer to question one is always "yes".

 MR> For question two, it depends on whether or not the
 MR> destination file system supports EA's.  For FAT and HPFS,
 MR> there are no problems.  But if you're using a different file
 MR> system through an IFS, it depends entirely on what that file
 MR> system supports.

 MR> Question three has the same answer, though beyond the file
 MR> system on the remote machine, the LAN protocol needs to
 MR> provide for such a need. Between two OS/2 machines, EA's are
 MR> preserved without incident.  Between OS/2 and a Win95
 MR> machine, no EA preservation, even though that machine booted
 MR> to OS/2 would support EA's.

How about between OS/2 and a Linux share using SAMBA?  :-)

--- 
* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.