Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
55 user(s) are online (48 user(s) are browsing Forums)

Members: 0
Guests: 55

more...
Support us!
Recent OS4 Files
OS4Depot.net





Copy item, set what date?
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 138
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?

   Report Go to top

Re: Copy item, set what date?
Quite a regular
Joined:
2009/5/1 17:57
From Czech Republic
Posts: 971
@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.

_________________
Smoke me a kipper, I'll be back for breakfast!

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon R5 230 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: Copy item, set what date?
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1056
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

   Report Go to top

Re: Copy item, set what date?
Just can't stay away
Joined:
2006/11/24 18:52
From Gloucestershire, UK.
Posts: 1141
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>
   Report Go to top

Re: Copy item, set what date?
Just popping in
Joined:
2008/10/18 10:25
From Auckland, New Zealand
Posts: 58
@mritter0

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

   Report Go to top

Re: Copy item, set what date?
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 138
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
   Report Go to top

Re: Copy item, set what date?
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 138
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 1:03:15
_________________
Workbench Explorer - A better way to browse drawers
   Report Go to top

Re: Copy item, set what date?
Just can't stay away
Joined:
2008/1/6 17:56
From Pennsylvania, USA
Posts: 1280
@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

   Report Go to top

Re: Copy item, set what date?
Just can't stay away
Joined:
2006/12/1 18:01
From Copenhagen, Denmark
Posts: 1056
@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

   Report Go to top

Re: Copy item, set what date?
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1326
@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
   Report Go to top

Re: Copy item, set what date?
Not too shy to talk
Joined:
2006/12/6 19:36
Posts: 444
@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.

   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project