#1 : 05/06-24 19:54 Mike
Posts: 1
|
Hello together, i have a simple question. How do i owerwrite resp. rename the foldername with the excat name of the file inside the folder ? I have over 500 folders. What i can do is rename the files name with the name of the folders.But in the opposite it does not work for me. Please can somebody help me ? Many thnks in advance for your support.
|
#2 : 05/06-24 21:26 Miguel
Posts: 132
|
Reply to #1:
Hi Mike. You can use the command <ExifTool:FileName>. I don't know if Aren has a specific method for this. This probably will add the extension of the file to the folder name if you want eliminate it use te Replace method. NEW NAME: <ExifTool:FileName> ---- REPLACE: .* REPLACE WITH: (EMPTY) Miguel EDIT: IF by chance the file name contains a dot, better use the Remove method. REMOVE COUNT: 3 STARTING: 1 BACKWARDS SELECTED |
#3 : 06/06-24 05:39 Delta Foxtrot
Posts: 264
|
Reply to #2:
Reply to #2: Hey Miguel! How's the weather in paradise these days, buddy? Maybe I've got a case of Dog-Brain Wedsnesday, but I don't understand how that works. If you load the files into ARen to get the <Exiftool:Filename>, how would you have access to the folders? If you load the folders, how would you have access to the filenames? Anyway, you could always use the MOVE MODE to move files to a new destination folder named for <Name>. Best, DF |
#4 : 11/06-24 19:27 Bruce
Posts: 5
|
Hello Mike, Miguel, FoxTrot!
I have a similar problem (v3.87): Rename the FOLDER create date from the folder NAME! I sorta have it working, but the <YEAR><MONTH><DAY> options don't show the change. I *HAVE* selected the "Rename Folder" tab, of course, on the main screen :-) Folder: "Jack Spratt 230709 xxxx" [Replace] (Presets) ([0-9]{2,})([0-9]{2,})([0-9]{2,}) With: July $3, 20$1 (I've hard-coded "July" for simplicity) Occur: 1st [X] Use regular expressions Apply to: Name /New Folder Name\ (seen in main display tabs) "Jack Spratt July 09,2023 xxxx" THIS ^^^ IS CORRECT because it just rearranges the date parts to match <MONTH><DAY><YEAR> requirements??? *BUT* /New Created Date\ (seen in main display tabs) 6/9/2024 hh:mm:ss PM <= which is the Create Date I'm trying to change! Correcting it back to the original date shown in 2023!! The NEW Create Date should be "July 9, 2023" !! NOT June 9, 2024 !! This is the date I ran the preview of the change; a few days ago! [Timestamp] (Presets) [X] Create date and time (o) Dirname pattern Pattern: <MONTH><DAY><YEAR> What am I missing?? I'm almost there... Thank you for your time on my query, Bruce |
#5 : 12/06-24 05:27 Delta Foxtrot
Posts: 264
|
Reply to #4:
Hi Bruce, I've had a lot of problems with the timestamp method and folders. Maybe this thread: https://www.advancedrenamer.com/forum_thread?for um_id=14011 will help a little bit. (I finally ended up using another program to change folder creation dates.) Good luck and I hope you can get it to work for you. Best, DF |
#6 : 12/06-24 21:18 Miguel
Posts: 132
|
Reply to #4:
Hi Bruce, Have you added the comma in the DirName pattern? <MONTH><DAY>,<YEAR> The month must be a number. I have found that you most execute the rename batch before change the date. Also, be sure to select Filename pattern. With Directory pattern don´t work Don´t know if this work with 3.87 version. I have used the 3.88 version. https://drive.google.com/file/d/1YTbOSrJeqZwY2ei Uao5Yvh06rNsFWLaw/view?usp=drive_link Miguel EDIT: The New Created date is in spanish format. Day - month - year |
#7 : 13/06-24 18:03 Bruce
Posts: 5
|
Reply to #6:
Hello Miguel! Thanks for the tip about using the comma! I downloaded v3.88 and it didn't work. But now I know why! :-) I'll check out the comma and <DirName> vs <FileName> settings and post an update. I use RegEx to convert "24" to "2024", as I showed in my original post. I'll test that again. Cheers! Bruce |
#8 : 15/06-24 16:04 Miguel
Posts: 132
|
Reply to #7:
Hi, The date in the file name must match with the pattern. For example: Jack Spratt 07 09,2023----------> <Month> <Day>,<Year> Jack Spratt 07-09-2023 ------> <Month>-<Day>-<Year> Any comma, space or hyphen must match with the Filename or Dirname pattern Miguel |
#9 : 24/06-24 16:16 Bruce
Posts: 5
|
Reply to #8:
Hello Miguel! Sorry for the late reply. I side with Delta Foxtrot (above). Something is either missing in my understanding, or the capability doesn't exist, or the syntax isn't correctly processed internally within Aren.exe. I can appreciate the programming necessary to even make this all work as well as it does. I almost solved my problem using two sets of methods. Perhaps another time I'll revisit this. Thank you for your time to point out the details that might have helped. I STILL use "Aren.exe" for all my other tasks, tho. Cheers, Bruce |