On Friday, 17 February 2017 at 11:40:35 UTC, Jonathan M Davis
wrote:
Well, there's a _long_ history of it being called rename on
POSIX systems, and since the D function is a simple wrapper
around rename, it makes sense that it's called rename, much as
I agree that the name isn't the best for
On Friday, February 17, 2017 11:00:30 Chris via Digitalmars-d-learn wrote:
> On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
>
> wrote:
> > Well, there's zero difference between renaming the file or
> > directory and moving it. It's simply a difference in name.
> > rename actually
On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
wrote:
Well, there's zero difference between renaming the file or
directory and moving it. It's simply a difference in name.
rename actually comes from POSIX, where rename is used in C
code, and mv is used in the shell. So, I
On Friday, February 17, 2017 08:48:03 Kagamin via Digitalmars-d-learn wrote:
> On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
>
> wrote:
> > Well, there's zero difference between renaming the file or
> > directory and moving it. It's simply a difference in name.
>
> Isn't there a
On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
wrote:
Well, there's zero difference between renaming the file or
directory and moving it. It's simply a difference in name.
Isn't there a difference?
I though
move("/path/dir1","dir2") moves folder to current directory and
V Thu, 16 Feb 2017 16:38:51 +
Chris via Digitalmars-d-learn
napsáno:
> In `std.file`, I haven't found a function that allows me to move
> or at least copy directories, as in `mv dir /toDir`. Do I have to
> go the awkward way over `rename` or something?
On Thursday, February 16, 2017 16:47:05 Chris via Digitalmars-d-learn wrote:
> On Thursday, 16 February 2017 at 16:41:48 UTC, Adam D. Ruppe
>
> wrote:
> > On Thursday, 16 February 2017 at 16:38:51 UTC, Chris wrote:
> >> In `std.file`, I haven't found a function that allows me to
> >> move or at
On Thursday, 16 February 2017 at 16:41:48 UTC, Adam D. Ruppe
wrote:
On Thursday, 16 February 2017 at 16:38:51 UTC, Chris wrote:
In `std.file`, I haven't found a function that allows me to
move or at least copy directories, as in `mv dir /toDir`. Do I
have to go the awkward way over `rename` or
On Thursday, 16 February 2017 at 16:38:51 UTC, Chris wrote:
In `std.file`, I haven't found a function that allows me to
move or at least copy directories, as in `mv dir /toDir`. Do I
have to go the awkward way over `rename` or something?
Have you already tried just renaming the directory?
In `std.file`, I haven't found a function that allows me to move
or at least copy directories, as in `mv dir /toDir`. Do I have to
go the awkward way over `rename` or something?
10 matches
Mail list logo