your-tools / pycp

cp and mv with a progress bar
MIT License
147 stars 8 forks source link

pvcp & pvmv Directories doesn't create new Source directory in destination.. #4

Closed jadedgnome closed 10 years ago

jadedgnome commented 11 years ago

I use: pymv ~/Videos /media/storage

the files and folders within Videos appear directly in /media/storage

it should appear as /media/storage/Videos.

ghost commented 11 years ago

Not reproduced here. What version are you using ?

Can you try run it like this:

PYCP_DEBUG=1 pymv ~/Videos /media/storage

I've tried to write a test to reproduce the problem but it passes: d1ebd0f2596ac3f6d5248c6237babbb9d1c843a2

jadedgnome commented 11 years ago

I realized what i'd done. I typed "~/videos/" instead of "~/videos". Can you make the a forward slash entry redirect to the top level instead of the sub-directories? This mistake is bound to happen to others who copy and past path's as well as myself.

jadedgnome commented 10 years ago

works perfectly, thanks.