Command Line Interface

Advanced Renamer forum
#1 : 20/01-14 16:03
Shawn
Shawn
Posts: 16
Hi,

With the new command line interface, do I have the ability to move folders/files from drive to drive?

Thanks!


20/01-14 16:03
#2 : 20/01-14 20:58
Kim Jensen
Kim Jensen
Administrator
Posts: 775
Reply to #1:
The command line utility can do the same thing as the regular GUI application. It can move and copy files from one drive to another, but not folders.

( btw. the command line interface is not new - it has been included for years :-) )


20/01-14 20:58
#3 : 20/01-14 22:08
Shawn
Shawn
Posts: 16
Reply to #2:
What is the reasoning for not being able to move folders to drives?


20/01-14 22:08
#4 : 21/01-14 16:35
Kim Jensen
Kim Jensen
Administrator
Posts: 775
Reply to #3:
The reason is that the undo functionality does not work when moving folders across drives. Actions performed on files and renaming actions on folders are pretty much atomic, while copy and move actions on folders are more complex. The actual action consists of copying the containing files one by one and deleting them one by one. If anything goes wrong during the batch action, like running out of disk space, the operation will halt mid way and the process of cleaning up will be manual and difficult.


21/01-14 16:35
#5 : 23/01-14 16:31
Shawn
Shawn
Posts: 16
Reply to #4:

Hi and Thanks!

Not bad. I have a new idea now if that's the case:

I tried adding the files from the folders to move...DONE!

Say folder the files reside in now is called TEST - 01-2014

And I want to move the files in it to:

D:\TEST\TEST - 01-2014

D:\What goes here to trim back the " - 01-2014" so it would dynamically just use what ever is in the place of TEST\<DirName:1>


23/01-14 16:31