Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 05, 2016, 04:34:40 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Command Line move  (Read 3143 times)

logic7

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
IDEA: Command Line move
« on: September 25, 2006, 07:53:29 AM »
I would like to see a command line move that works as mv in Linux/UNIX does.

The built in one in Windosws cannot move folders and only renames them under the same parent folder, and the UNIX ports so far are either buggy (one of the adds endless loops of the folders moved at the destination) or don't support UNC paths.

Again this is a time saver in batch files instead of capturing the folder name, copying the tree and then deleting it.

Thank you.
« Last Edit: September 25, 2006, 02:25:42 PM by brotherS »

tmpusr

  • Member
  • Joined in 2005
  • **
  • Posts: 154
  • Instantiation stuck in meatspace with no backup
    • View Profile
    • Donate to Member
Re: IDEA: Command Line move
« Reply #1 on: October 08, 2006, 10:29:04 AM »

logic7

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: IDEA: Command Line move
« Reply #2 on: October 08, 2006, 06:28:19 PM »
http://www.xxcopy.com/index.htm

I've used in the past, too much to deal with and inefficient if not useless when it comes to handling folders.

For example this is what you need to do to move.
xxcopy \src\ \dst\ /rsy/pd0/s/h/r/q1
or
xxcopy \src\ \dst\ /rmdir/y/q1

While in Linux/UNIX

mv /src/  /dst

Thanks for responding.

tonsofpcs

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 30
  • Video Tech
    • View Profile
    • Video Production Support
    • Read more about this member.
    • Donate to Member
Re: IDEA: Command Line move
« Reply #3 on: November 24, 2006, 03:05:35 PM »
Assuming that the code you posted is what you need to type, just make this batch file (type it in a text editor, save it as "mv.bat" and put it in your system path):
xxcopy %1 %2 /rsy/pd0/s/h/r/q1

tinjaw

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • View Profile
    • Donate to Member
Re: IDEA: Command Line move
« Reply #4 on: November 24, 2006, 07:24:54 PM »
How about using Cygwin? Then you would get mv an a bunch more!