Who's Online
155 user(s) are online (
134 user(s) are browsing
Forums )
Members: 1
Guests: 154
Mr_byte ,
more...
Topic options
View mode
Newest First
Copy item, set what date?
Posted on:
2018/8/20 17:14
#1
Just popping in
Joined: 2015/9/29 0:42Last Login
: 2/25 18:04
From Bettendorf, IA, USA
Group:
Registered Users
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?
Re: Copy item, set what date?
Posted on:
2018/8/20 20:08
#2
Amigans Defender
Joined: 2009/5/1 18:57Last Login
: Today 19:15
From Czech Republic
Group:
Registered Users Staff members Moderators
@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
Re: Copy item, set what date?
Posted on:
2018/8/20 21:52
#3
Just can't stay away
Joined: 2006/12/1 18:01Last Login
: Yesterday 23:00
From Copenhagen, Denmark
Group:
Registered Users
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
Re: Copy item, set what date?
Posted on:
2018/8/20 22:25
#4
Just can't stay away
Joined: 2006/11/24 18:52Last Login
: 2021/9/26 20:59
From Gloucestershire, UK.
Group:
Registered Users
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>
Re: Copy item, set what date?
Posted on:
2018/8/20 23:17
#5
Not too shy to talk
Joined: 2008/10/18 11:25Last Login
: Yesterday 2:52
From Auckland, New Zealand
Group:
Registered Users
@mritter0 How about a config item that allows the user to choose?
Re: Copy item, set what date?
Posted on:
2018/8/20 23:29
#6
Just popping in
Joined: 2015/9/29 0:42Last Login
: 2/25 18:04
From Bettendorf, IA, USA
Group:
Registered Users
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
Re: Copy item, set what date?
Posted on:
2018/8/20 23:44
#7
Just popping in
Joined: 2015/9/29 0:42Last Login
: 2/25 18:04
From Bettendorf, IA, USA
Group:
Registered Users
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
Re: Copy item, set what date?
Posted on:
2018/8/21 13:48
#8
Just can't stay away
Joined: 2008/1/6 17:56Last Login
: 2023/4/18 20:37
From Pennsylvania, USA
Group:
Registered Users
@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
Re: Copy item, set what date?
Posted on:
2018/8/21 21:35
#9
Just can't stay away
Joined: 2006/12/1 18:01Last Login
: Yesterday 23:00
From Copenhagen, Denmark
Group:
Registered Users
@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
Re: Copy item, set what date?
Posted on:
2018/8/23 21:58
#10
Just can't stay away
Joined: 2006/12/9 10:44Last Login
: 11/11 18:51
From Lyon, France
Group:
Registered Users
@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.
Re: Copy item, set what date?
Posted on:
2018/8/23 22:43
#11
Quite a regular
Joined: 2006/12/6 19:36Last Login
: 3/26 10:15
Group:
Registered Users
@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.
Currently Active Users Viewing This Thread:
2
(
0 members
and 2 Anonymous Users
)