rename windows files - reformat date - windows

I have hundreds of files (pictures) that were loaded with the date as part of the name. However, the file names are currently in the format "MM-DD-YY xxxxxxxx.jpg". I would like to rename them to the format "YYYY-MM-DD xxxxxxxxx.jpg", so they can sort better.
Any ideas? I'm running Windows 10.
Thank you,
Luis

Select all the files you want to rename from one date.
Eg : Select all pictures that were taken on 17-10-2016.
Hit F2 to rename.
Now enter the new date format ( i.e 2016-10-17 in our case ).
After reanaming, Hit Enter.
All your files are renamed into the format in which you need.
Similarly, do it for pictures with similar dates.

Related

NiFi - ListS3 listing files with exact path but different dates

I have to list and collect several specific files on a S3 bucket from different dates.
The path looks like the following:
/path/to/20221201/files/specificfile/
/path/to/20221202/files/specificfile/
The "files" and "specificfile" folders contain several different files, where I am only interest in a specific one from each.
I tried changing the date with * thinking it would list any date, but I get no result.
Any suggestions?
Thanks

pyarrow dataset partitioning by filenames converting filename to field/column name

Is there a way to use the filename in a dataset and have it be the column.
ie if the directory has
file1.parquet
file2.parquet
file3.parquet
can loading that as a dataset then have a column with the values file1, file2, and file3?
or does it only work with directory names? It seems to only work with directory names, is that right?
Support for filename-based partitioning will be in Arrow 8.0.0, which will likely release later this month or in May 2022. See ARROW-14612. The same goes for being able to have a column with the filename, see ARROW-15281.

Excel Power Query import (same file but with different month name)

Each month I need to automate the importing of reference data, however the Excel file is named differently.
Monthly Data File January 2022.xlsx
Monthly Data File February 2022.xlsx
Could you point me in the right direction please?
In excel, use formulas ... name manager... to pick a cell and give it a range name, like NameVariable
Enter your filepath and filename C:\temp\Monthly Data File January 2022.xlsx in that named cell. Change the content of that range as needed when filename changes later
Load one file into powerquery, then in home ... advanced editor ... add a formula that refers to that range name, similar to this:
MVar = Excel.CurrentWorkbook(){[Name="NameVariable"]}[Content]{0}[Column1],
and change any hard coded references to the filename to use MVar instead
As an example, change
let Source = Excel.Workbook(File.Contents("C:\temp\Monthly Data File January 2022.xlsx"), null, true),
to be
let MVar = Excel.CurrentWorkbook(){[Name="NameVariable"]}[Content]{0}[Column1],
Source = Excel.Workbook(File.Contents(MVar), null, true),

mac os x change date format temporarily

I use ACDSee 4 for mac and the date format of the exif info = dd-mm-yyyy
This makes perfect sense, because I live in Holland and we use this date notation.
but this is getting a issue when I want to batch rename files using the exif date and time, it's the wrong format if I want to order the filenames.
I can change the regional settings to Canada in my mac system preferences, that works accept I don't want to use AM/PM but 24hr format.
And if I quit ACDSee I need to revert back to the dutch date notation.
My question is:
Is there a bash or apple script that sets the date format to yyyy-mm-dd and 24h time format.
And opens ACDSee.
And when I close ACDSee it reverts back to dd-mm-yyyy ?

how to compare filename of date and time between two folders

i have two folders both are in different directories.(example ~/folder1/00) (example ~/folder2/01).00 folder contains set of images .am copying 00 folder of images to 01 folders.now i want to compare two folders(00 and 01) each filename along with date and time.if time and date are not same i want to equal the date and time of both images..how should i read and compare both folders of file name along with date and time one by one ..can any one give suggestion for this.
Thanks in Advance

Resources