Import and sort to new folder (osx and win)

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
notarealboy
Posts: 3
Joined: Thu Mar 08, 2018 10:30 am

Import and sort to new folder (osx and win)

Post by notarealboy » Thu Mar 08, 2018 10:48 am

Hi,

I'm trying to import and sort but cannot create a new folder (either on osx or windows 10). I may be doing something wrong.
So, I want to import photos from

Code: Select all

F:\DCIM\100MSDCF
into

Code: Select all

C:\XPC\Poze\Import test
but, at the same time, create subfolders based on the images' dates. So my expectation is that files will be imported and renamed to something that looks like this

Code: Select all

C:\XPC\Poze\Import test\20180308\20180308_12_45_36_001.jpg
C:\XPC\Poze\Import test\20180308\20180308_12_48_42_002.jpg
C:\XPC\Poze\Import test\20180309\20180309_09_11_22_003.jpg
...
You can see my attempt here:
Image

and the result here (note the double slash in there):
Image

I tried a few combinations I could think of but nothing worked (on either my mac or my pc).
The actual filename expression I'm using is

Code: Select all

{Modified Date [Y-m-d]}\{Modified Date [Ymd_H_M_S]}_{Filename Number}###
Should this work? Can xnviewmp auto-create subfolders and import into them?

Thanks!
Last edited by notarealboy on Sun Mar 11, 2018 12:38 pm, edited 2 times in total.

notarealboy
Posts: 3
Joined: Thu Mar 08, 2018 10:30 am

Re: Import and sort to new folder (osx and win)

Post by notarealboy » Sun Mar 11, 2018 12:33 pm

Just to clarify, maybe this helps:

Image

That is how Photo Mechanic 5 handles file rename and import in OSX. The key here is that the folder name is dynamic, and folders are created/used depending on the images being imported.

User avatar
xnview
Author of XnView
Posts: 29078
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import and sort to new folder (osx and win)

Post by xnview » Mon Mar 12, 2018 10:20 am

and if you use 'subfolder' field? Filename field is only for filename not subfolder
Pierre.

notarealboy
Posts: 3
Joined: Thu Mar 08, 2018 10:30 am

Re: Import and sort to new folder (osx and win)

Post by notarealboy » Mon Mar 12, 2018 4:56 pm

Wow. I could've sworn I tried that and it only created one folder, for the first date it picked up. But it actually works perfectly. Tested on both Win and Mac.
Right, sorry about that. This does exactly what it's supposed to do. Thank you!

Post Reply