首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >进度命令不显示mv进度

进度命令不显示mv进度
EN

Unix & Linux用户
提问于 2017-08-17 15:46:20
回答 2查看 2.1K关注 0票数 3

我通过progress安装了brew install progress

代码语言:javascript
运行
复制
% progress -v
progress version 0.13

当我使用mv命令时,我使用了progress -w,但由于权限错误,它失败了。

代码语言:javascript
运行
复制
progress -w
No command currently running: cp, mv, dd, tar, cat, rsync, grep, fgrep, egrep, cut, sort, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, adb, gzip, gunzip, bzip2, bunzip2, xz, unxz, lzma, unlzma, zcat, bzcat, lzcat, or wrong permissions.

我应该在某个地方更改使用progress的权限吗?我做错了什么?

我使用的是macOS塞拉利昂版10.12.6

更多信息

progress -w命令之后,我执行了mv命令,该命令将大约30 to的数据从内部SSD转移到外部HDD。我检查了progress的错误消息之后,mv命令仍然有效。

代码语言:javascript
运行
复制
% which mv
/usr/local/opt/coreutils/libexec/gnubin/mv
% mv --version
mv (GNU coreutils) 8.27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Parker, David MacKenzie, and Jim Meyering.
EN

回答 2

Unix & Linux用户

发布于 2021-08-28 04:13:13

与sudo一起运行的Coreutil命令要求progress与sudo一起运行,以便查看当前进度。

换句话说,如果您以sudo的形式运行cp、mv等,则需要运行sudo progress

票数 1
EN

Unix & Linux用户

发布于 2017-08-18 10:10:38

我觉得很好

代码语言:javascript
运行
复制
progress -w
No command currently running: cp, mv, dd, tar, cat, rsync, grep, fgrep, egrep, cut, sort, md5sum, sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, adb, gzip, gunzip, bzip2, bunzip2, xz, unxz, lzma, unlzma, zcat, bzcat, lzcat, or wrong permissions.

意味着当前没有mv,cp进程正在运行。

可能在运行进度-w之前文件已被移动。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/386732

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档