• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Windows 10 changed file names when moving files

Community Beginner ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

I was consolidating files onto one hard drive and didn't realize Windows would add a date stamp into the file name, so file names went from Image 001 to image 001 (2016_04_18 16_58_52 UTC).CR2, also have the XMP from Lightroom 5.7 and jpeg. As a result, Lightroom can not find the files. I can point to each one individually, or go back into Windows and change the file name back, but I have 13,000 images which means about 40,000 files. If I re import all of the files with the messed up names, I will lose all of my adjustments. Help!

I foolishly thought by keeping the same drive and folder names, it would all go well.

Views

11.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 09, 2019 Jan 09, 2019

larryscarstairs  wrote

I was consolidating files onto one hard drive and didn't realize Windows would add a date stamp into the file name, so file names went from Image 001 to image 001 (2016_04_18 16_58_52 UTC).CR2.

It sounds like you have Windows 10 file history backup running. See this for more details:

How to Use Windows’ File History to Back Up Your Data

I've never used it, but the original unrenamed files should also be on the drive you moved them to. Try doing a top-level Windows Explorer sea

...

Votes

Translate

Translate
LEGEND ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

I have never seen Windows add anything to a file name when being moved, cut and pasted, or copied from one folder or drive to another.

Something else is going on with your computer.

Are you using Windows/File Explorer or some other utility.

It looks like you are moving and Renaming and whatever system you are using is doing that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

I was using Windows File Explorer. I wasnt aware of any renaming at the time of moving them. I did check files to make sure they imported ok before deleting the originals but didnt realize the significance of the time stamp until it was too late

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

larryscarstairs  wrote

I was using Windows File Explorer. I wasnt aware of any renaming at the time of moving them. I did check files to make sure they imported ok before deleting the originals but didnt realize the significance of the time stamp until it was too late

Windows Does Not rename files when copied or moved. There is NO option that I know of in Windows file manager, Explorer, to Rename a file at the same time you are moving or copying it.

Not only don't I know of any option to rename a file while copying or moving it neither does Google.

I did a Google search for "Rename image files while moving by adding the Shot Date" and got nothing. Got plenty of Rename files, Select the first, Select the last holding the shift key then right click and select Rename. But nothing else and no option to add the Shot date to the name.

Please state what exactly you did in Windows File Explorer.

Also I don't understand your statement"I did check the files to make sure they imported ok before deleting the originals". Weren't all these files already in the LR catalog?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

I had multiple copies of folders and files, so I decided to clean them up using explorer rather than in lightroom, which I realize now I should have done. So i clicked and dragged folders and files onto a new hard drive. Thats all. Nothing fancy - stuff I have done with excel, word and other files over the years.

After I moved a folder, I checked to see if the right number of files were present and then I loaded a photo or so to make sure they worked. I noticed the addition to the file name but failed to realize the impact it would have.

But it is done now so now I need to deal with it and that is what I am trying to figure it out

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2019 Jan 08, 2019

Copy link to clipboard

Copied

Sorry but I have no idea what happened. I normally don't run Win 10 but do have it installed on a drive. I just started from that drive and copied 200 Fuji RAF files from there normal location to another drive. No Renaming happened.

Best of luck.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

Files are only usually renamed by the OS if there is already a file of the same name in that folder. Then it adds a -2 (or similar) to the end of the second filename.

Bob Frost

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 21, 2024 Sep 21, 2024

Copy link to clipboard

Copied

I am having similar problem.  I have 50,000+ files.  I have several files with something like (2022)06_37_34) iin the image title with a correctly named reference.  The file will be dated a year before that above date. I cannot clear the ("Read Only) message that accompanys the image. There is also the correctly named and propertied (if that's a word) description with the image.  I can't find any reference as to what the "UTC" is.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 21, 2024 Sep 21, 2024

Copy link to clipboard

Copied

LATEST

@jcwdz88 

This is a five year old thread. Please start a new thread, describe your problem in detail, from the beginning. Be sure to include all of the items below in your problem description, and all other relevant information. People will be happy to help you in a new thread; do not continue to discuss this in this thread.

Adobe Forum.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

larryscarstairs  wrote

I was consolidating files onto one hard drive and didn't realize Windows would add a date stamp into the file name, so file names went from Image 001 to image 001 (2016_04_18 16_58_52 UTC).CR2.

It sounds like you have Windows 10 file history backup running. See this for more details:

How to Use Windows’ File History to Back Up Your Data

I've never used it, but the original unrenamed files should also be on the drive you moved them to. Try doing a top-level Windows Explorer search on each of the drives you have installed (C:\, D:\, etc.) for a known original file name without the time stamp.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

Thanks Todd. I think you nailed it.

See this post over at Super User.

remove windows file history timestamps in file name - Super User

It shows the same UTC time stamp with parentheses.

This is clearly some type of User Error. That the OP has this feature turned on and Copied the history backups and or File History created second copies with the time stamp.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

https://forums.adobe.com/people/Just+Shoot+Me  wrote

remove windows file history timestamps in file name - Super User

It shows the same UTC time stamp with parentheses.

This is clearly some type of User Error. That the OP has this feature turned on and Copied the history backups and or File History created second copies with the time stamp.

Unfortunately the OP also said, "I did check files to make sure they imported ok before deleting the originals but didnt realize the significance of the time stamp until it was too late."

Hopefully the actual original files without timestamps imported into LR were not deleted. A search as I outlined should find them if still present on one of the drives.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

Thank you Todd. I will check it out tonight and see what I have 

Sent from Yahoo Mail for iPhone

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

So I searched my hard drive and the files with original names were not present, but I got a tip from Microsoft that worked. I will post their answer here too

Please note that usually files name have timestamp when you are backing it up using file history. Here is Powershell command, which will help you rename all the files in the folder (removing only the timestamps).

  1.   start in file I want to work on
  2. click on file and then as shown below

Image

5. Then type the following command: Get-ChildItem -Recurse | Where-Object { $_.Name -match " ?\(\d\d\d\d_\d\d_\d\d \d\d_\d\d_\d\d UTC\)" } | Rename-Item -NewName { $_.Name -replace " ?\(\d\d\d\d_\d\d_\d\d \d\d_\d\d_\d\d UTC\)", ""}

Note: It is recommended that you have the backup of the files just to be on safer side.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 16, 2021 Jun 16, 2021

Copy link to clipboard

Copied

Unfortunately this created a second file without the timestamp leaving the original file with the timestamp intact.  But, the real problem remains: how do you stop file history from adding the timestamp to begin with?  The really confusing thing for me is that FileHistory used to back up my files without adding the timestamp.  What happened?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 29, 2021 Aug 29, 2021

Copy link to clipboard

Copied

Thanks mate this worked for me perfectly .. I had copy paste the files directly from the backup folder with the timestaps on it .. i had litteraly had made my mind to rename every file cause seeing it with the timestamp was too iritating .. but you saved me from that trouble

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 09, 2019 Jan 09, 2019

Copy link to clipboard

Copied

Wow. Thank you for all of your help! I will dig into this later in the day when I am home. Larry 

Sent from Yahoo Mail for iPhone

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2021 Oct 17, 2021

Copy link to clipboard

Copied

I have exactly the same issue after using the Backup facility in Windows 10. All my image files (thousands) have had their filenames changed to include a UTC timestamp, just as you described.

 

Did you manage to resolve your issue eventually (hopefully without having to write computer script) ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines