First time user having difficulties managing sub-folders...

Started by Noisia, June 27, 2013, 05:59:11

Previous topic - Next topic

Noisia

Hello!

I've tried to figure fastest route moving sub folders into parent directory such as follows:

c:\parent\child_01\child_02\contents.ext
c:\parent\child_01\child_02\contents.ext
c:\parent\child_01\child_02\contents.ext

etc.

I want to sort as follows:

c:\parent\child_02\contents.ext
c:\parent\child_02\contents.ext
c:\parent\child_02\contents.ext

etc.

I really apologize for putting it in such lame terms i'm not acquainted with wildcards and folder management tools... :(


Thanks in advance! :)


Jungle

If i understand correctly and you need to move entire folder to parent, there are several ways.

1. Drag'n'drop folder to a '..' item in the same explorer panel
2. Open parent folder in the opposite panel and drag'n'drop folder from source to destination panel (or use keyboard shortcut)
3. Write multi-script

Noisia

I was wondering is there is a way to filter all "child" folders with a wildcard then CTRL+A moving them to parent accordingly?

Mathias (Author)

I Assume you mean

c:\parent\child_01\child_02\contents.ext
c:\parent\child_01\child_03\contents.ext
c:\parent\child_01\child_04\contents.ext
(or you will have a lots of duplicated names...)

What you can do is to copy/move c:\parent\child_01 to c:\parent  (to it self ? yes..)
and then in the CopyTo-Dialog, you expand the UI and under FileOperation plugin you select "Folder Content"
It will now Copy/Move the content of the select folders to the target and not the selected folder itself
So It will copy/move the content of c:\parent\Child_01 to c:\parent

So you should get

c:\parent\child_02\contents.ext
c:\parent\child_03\contents.ext
c:\parent\child_04\contents.ext

Noisia

I'm not sure if i understand your method since this is the very first time i'm using this program. I'll demonstrate the task-at-hand using the proper folder structure i have:

C:\Users\USERNAME\Downloads\Fear Factory\1998 - Obsolete\1998 - Obsolete [Roadrunner, RR 8752-5, USA]\files.ext
C:\Users\USERNAME\Downloads\Fear Factory\2001 - Digimortal\2001 - Digimortal [Roadrunner, RR 8561-5, Germany]\files.ext

I want the fastest/painless method of achieving this move up to parent folder:

C:\Users\USERNAME\Downloads\Fear Factory\1998 - Obsolete [Roadrunner, RR 8752-5, USA]\files.ext
C:\Users\USERNAME\Downloads\Fear Factory\2001 - Digimortal [Roadrunner, RR 8561-5, Germany]\files.ext

Is there a batch/automatic process embeded in MC to achieve it?

Jungle

Noisia

1. On the source panel select folders
C:\Users\USERNAME\Downloads\Fear Factory\1998 - Obsolete\
C:\Users\USERNAME\Downloads\Fear Factory\2001 - Digimortal\


2. On the destination panel open C:\Users\USERNAME\Downloads\Fear Factory folder
3. Do as Mathias described:

  a. In copy/move dialog press [Options >>]
  b. Select "Folder content" under FileOperation plug-in profiles
  c. Press [OK]

If it is a common task, probably you need to use multi-script as there's no way to pass plugin profile to MC.Explorer.Copy command

Noisia

I did exactly what you said and now the files are all over parent folder...

Jungle

Quote from: Noisia on June 27, 2013, 07:28:35I did exactly what you said and now the files are all over parent folder...

I've tested. What i've had
E:\temp\_mc_test\eeee\e1\r1\1.txt
E:\temp\_mc_test\eeee\e2\r2\2.txt
E:\temp\_mc_test\eeee\e3\r3\3.txt

After moving with content copy profile i have
E:\temp\_mc_test\eeee\e1\
E:\temp\_mc_test\eeee\e2\
E:\temp\_mc_test\eeee\e3\
E:\temp\_mc_test\eeee\r1\1.txt
E:\temp\_mc_test\eeee\r2\2.txt
E:\temp\_mc_test\eeee\r3\3.txt

This is what you want, isn't it?

Noisia

After inspection i've noticed some of the folders were moved up one level as desired and some files were just scattered to parent folder so i had to move them manually. Thank you for your attention, i'll try this exercise once this sorting is complete! :)

Noisia

After repeating the very same process i've noticed that the wildcard *.* on the dialog box somehow messed with the operation.

Correct settings are (for newcomers enlightment):



Worked flawlessly! Thank you again! :)