How do I use panelize in Midnight Commander? I want to know since this is a way to do a recursive chmod on selected files and directories

我是研究僧i 提交于 2021-01-28 19:42:44

问题


I know I can use chmod and advanced chmod but they do not offer me a way to recursively change permissions on the filed and folders. Panelize seems to be able to do that. However I seem not to get any results if I select files with Ctrl-t and then choose panelize.


回答1:


I don't know what the command "Panelize" in Left/Right menus does. It's not documented and I've never made it to work.

The only working "Panelize" I know is in "Find file": F9 | Command | Find file. Find, get a list of files, press "Panelize", get a panel full of found files, work with the files.

If you just need to run chmod/chown on a few directories recursively without excludes it's faster and simpler (for me) to run the commands in the command line. Tag (select) directories and run (for example):

chmod -R u=rwX,go=rX %s
chown -R root.root %s

%s will be replaces by the list of tagged directories/files or the current one if none is tagged.



来源:https://stackoverflow.com/questions/61793069/how-do-i-use-panelize-in-midnight-commander-i-want-to-know-since-this-is-a-way

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!