> On 22 May 2016, at 18:05, Robert Kuszinger <[hidden email]> wrote:
> I'm new to this list.
> After years of mixed awk-bash scripting I came to the question:
> "Why don't I script in smalltalk since I'm doing everything else in
> (Pharo, formerly VA)
> After hours of fighting I'm still not able to move/copy file sytem files
> (this is Linux).
> *Are there classes for that?*
The File class binds a lot of the POSIX API. Let's start with "move" here.
st> 'oldName' asFile renameTo: 'newFile'
will move/rename 'oldName' to 'newFile'
For copying I think you would need to do something like: