hello there..
i have a question,
can i use everything to copy timestamp from one file to another, it means copy creation date and modified date "all file time related info" from a file to another file or files ??
iam currently using two tiny tools to do that, but they are very very old and heavily interrupt my workflow with files.
thanks alot for all ur efforts
[question] can "everything" copy timestamps from one file to another !!
[question] can "everything" copy timestamps from one file to another !!
Last edited by asamirid on Sat Oct 08, 2022 6:18 am, edited 1 time in total.
Re: [question] can "everything" copy timestamps from one file to another !!
Yes
.
Everything 1.5 Alpha
Edit -> Advanced -> Set File Time... ---> Custom:
Click on the file whose date you want, Ctrl+C to "copy" it
Click on the file whose date you want to newly set, Edit -> Advanced...
(You would change the code for each time property as wanted; accessed, created, modified...)
Everything 1.5 Alpha
Edit -> Advanced -> Set File Time... ---> Custom:
#get-date-modified:<#clipboard:>Click on the file whose date you want, Ctrl+C to "copy" it
Click on the file whose date you want to newly set, Edit -> Advanced...
(You would change the code for each time property as wanted; accessed, created, modified...)
Re: [question] can "everything" copy timestamps from one file to another !!
thank you therube for ur answertherube wrote: Tue Oct 04, 2022 3:04 pm Yes.
Everything 1.5 Alpha
Edit -> Advanced -> Set File Time... ---> Custom:#get-date-modified:<#clipboard:>
Click on the file whose date you want, Ctrl+C to "copy" it
Click on the file whose date you want to newly set, Edit -> Advanced...
(You would change the code for each time property as wanted; accessed, created, modified...)
i tried this method and it works, although it's kind of hidden and barred in the app,
not the easiest way i hoped, but it will do the job
i wish it will be in the future releases of everything a right click context menu have "special paste" item that have sub_menu with all special paste functions possible, like "paste file name (s), paste time stamps (s), paste ownership, exlra.."
Re: [question] can "everything" copy timestamps from one file to another !!
greetings ..
i tried the code to copy timestamps from one file to a group of files and it worked fine,
and because this is a frequent action i do it daily i assigned a hotkey shortcut [crtl+t] to fast apply the action
the problem is, the hotkey [crtl+t] bring the "set file time" dialog in the screenshot down below instead of applying the "set time" action on the fly
i hope in the future builds i have the option to select between calling the "set file time" dialog and apply the action without confirmation..
i also hope for a longshot here, that i can copy timestamps from list of files to another list as i can do with the "rename tool" in the "apples and oranges" post i wrote days ago.
thank you for everything
..
i tried the code
get-date-modified:<#clipboard:>and because this is a frequent action i do it daily i assigned a hotkey shortcut [crtl+t] to fast apply the action
the problem is, the hotkey [crtl+t] bring the "set file time" dialog in the screenshot down below instead of applying the "set time" action on the fly
i hope in the future builds i have the option to select between calling the "set file time" dialog and apply the action without confirmation..
i also hope for a longshot here, that i can copy timestamps from list of files to another list as i can do with the "rename tool" in the "apples and oranges" post i wrote days ago.
thank you for everything
Re: [question] can "everything" copy timestamps from one file to another !!
@therube
@asamirid
Thank you both.
Asamirid, I was looking for the very same thing.
Thanks to therube for his solution, matter solved. Would never have figured this out myself.
(Indeed, maybe one day it will do the action 'silently' - no OK's in between)
@asamirid
Thank you both.
Asamirid, I was looking for the very same thing.
Thanks to therube for his solution, matter solved. Would never have figured this out myself.
(Indeed, maybe one day it will do the action 'silently' - no OK's in between)
Re: [question] can "everything" copy timestamps from one file to another !!
Everything 1.5.0.1413b adds a /set-file-time search command.
To create a bookmark to copy the timestamps as text from the selected file:
To create a bookmark to apply the timestamps to the selected file:
To create a bookmark to copy just the date modified as text from the selected file:
To create a bookmark to apply the date modified to the selected file:
Optionally add to the search command to hide the UI.
/set-file-time
To create a bookmark to copy the timestamps as text from the selected file:
- In Everything, from the Bookmarks menu, click Add to bookmarks.
- Change the Name to:
Copy timestamps - Change the Search to:
Code: Select all
/copy <FORMAT_FILETIME:$date-created:,"yyyyMMdd\THHmmss">&tab:<FORMAT_FILETIME:$date-modified:,"yyyyMMdd\THHmmss">&tab:<FORMAT_FILETIME:$date-accessed:,"yyyyMMdd\THHmmss"> - Optionally set a keyboard shortcut.
- Click OK.
To create a bookmark to apply the timestamps to the selected file:
- In Everything, from the Bookmarks menu, click Add to bookmarks.
- Change the Name to:
Set timestamps - Change the Search to:
Code: Select all
/set-file-time <REGEXEXTRACT:$clipboard:,"([A-Za-z0-9]*)"> <REGEXEXTRACT:$clipboard:,"[A-Za-z0-9]*\t([A-Za-z0-9]*)"> <REGEXEXTRACT:$clipboard:,"[A-Za-z0-9]*\t[A-Za-z0-9]*\t([A-Za-z0-9]*)"> - Optionally set a keyboard shortcut.
- Click OK.
To create a bookmark to copy just the date modified as text from the selected file:
- In Everything, from the Bookmarks menu, click Add to bookmarks.
- Change the Name to:
Copy Date Modified - Change the Search to:
Code: Select all
/copy <FORMAT_FILETIME:$date-modified:,"yyyyMMdd\THHmmss"> - Optionally set a keyboard shortcut.
- Click OK.
To create a bookmark to apply the date modified to the selected file:
- In Everything, from the Bookmarks menu, click Add to bookmarks.
- Change the Name to:
Set Date Modified - Change the Search to:
Code: Select all
/set-file-time "" $clipboard: - Optionally set a keyboard shortcut.
- Click OK.
Optionally add
-silent/set-file-time/set-file-time