Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

prramesh

macrumors newbie
Original poster
Jul 16, 2008
28
0
I use mv command to transfer large size files :D. Is there any way to view the progress of file transfer like percentage, etc? :(
 
'mv' read all about it from within Terminal with -

man mv

I did read man page before I post my question here, I couldn't figure out. mv -v doesn't help, I want to see the progress (like percentage of transfer)!
 
The mv command doesn't have that option, so you would need to watch the transfer from somewhere else. If you are using Xcode, take a look at NSTask.

thanks m8, I couldn't figure out how to use NSTask with mv, I tried to find an example, but no luck.:mad:
 
You may wish to look into 'rsync' instead.

It can be used for local file transfers as well as remote.

It does have a progress feed-back mechanism.

Read all about it at ..., well you know!
 
You may wish to look into 'rsync' instead.

It can be used for local file transfers as well as remote.

It does have a progress feed-back mechanism.

Read all about it at ..., well you know!

thanks I do use rsync regularly, I was just lazy to manually delete the files that are backed up to the external hard drive.
 
If this helps anybody in 2022 - you can check the progress of mv without installing any additional programs by opening Activity Monitor and going to the Disk tab. Look for the process name 'mv' and then check bytes written, it will show you how far through the transfer is. eg. if you are moving a 20gb file with mv and bytes written is 10gb you know the progress is 50%.

not an exact solution as part of the mv command but it gave me the piece of mind i was looking for when transferring files :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.