Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (65 user(s) are browsing Forums)

Members: 1
Guests: 104

AmigaSociety, more...

Headlines

 
  Register To Post  

Copy item, set what date?
Just popping in
Just popping in


See User information
For my program Workbench Explorer, when you copy/paste an item the date/time gets sets to the current date/time. Filer and Windows Explorer set them to the source file date/time. In a shell window, Copy sets it to the current date/time, unless you use CLONE.

What would you rather have? The original file's date/time or the current date/time at paste?

Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
@mritter0

I understand the file datestamp as referring to the date/time the file was created/saved. Updating the datestamp to the current date/time with each copy operation is IMHO uncalled for. Imagine copying a file from your HD to a flash disk: you end up with two files, one of which appears to be newer than the other despite them being identical. Not good.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
Also note that Workbench will preserve the datestamp (as well as the protection bits) when copying with drag and drop.

I also strongly believe this is desirable.

Best regards,

Niels

Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
Keeping the original date/time is very important for me as a beta tester as it makes it easy to judge new versions/updates and dates of backup files.

The best solution is probably to make it a preferences option as dopus 4/5 does, that way everybody is happy.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: Copy item, set what date?
Not too shy to talk
Not too shy to talk


See User information
@mritter0

How about a config item that allows the user to choose?

Go to top
Re: Copy item, set what date?
Just popping in
Just popping in


See User information
I like the idea of a new option:

Preserve file date when paste

On by default.


I do retain protection bits and file note.

Workbench Explorer - A better way to browse drawers
Go to top
Re: Copy item, set what date?
Just popping in
Just popping in


See User information
Part 2:

Only Workbench keeps the date of drawers. No other program does. Keep that date, too?


EDIT:

Drawer dates are now preserved, too. That was not easy to figure out.


Edited by mritter0 on 2018/8/21 2:03:15
Workbench Explorer - A better way to browse drawers
Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
@mritter0
Quote:
Drawer dates are now preserved, too. That was not easy to figure out.

The system will change the date if any files are added to the directory or edited and saved, so the directory date isn't as useful.

Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
@xenic

But still, if you copy a full directory tree (e.g. as backup), you want the drawers to also be perfect copies, including their dates.

It's just a matter of doing things in the right order (set dir date after the recursive call returns).

Best regards,

Niels

Go to top
Re: Copy item, set what date?
Just can't stay away
Just can't stay away


See User information
@mritter0

It is so rare I need to have a copy with a differnet timestamp than the original, that I prefer a copy comand to create an a clone of the source.

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Copy item, set what date?
Quite a regular
Quite a regular


See User information
@mritter0


I second the opinion every one else has.

Copy should mean clone the file and it's DateTime stamp. Thanks for having figured out how to implement it for the drawers too.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project