[PYTHON] mv command


Use to move the selected file to . For completion, the cd command is used.


class mv(Command):
  :mv <DEST>

  def execute(self):
    from ranger.ext.shell_escape import shell_quote
    self.fm.execute_console('shell mv %s ' + shell_quote(self.rest(1)))

  from ranger.config import commands
  tab = commands.cd.tab

Recommended Posts

mv command
Linux command # 4
Command memorandum
mv command Move up one level
nkf command
command prompt
vim command
sed command
Linux command # 5
grep command
command memo
top command
Command memorandum
Command memo
seq command
Roughly systemctl command
Linux command list
linux at command
ls command options
[Linux] Search command
First command plugin
pip command collection
scp command memo
Linux [directory command]
who command memo
Linux server command
Linux Command Summary
[Basic] linux command
Linux [shell command]
Convenient command combination
IPF command information
My linux command
Future nl command
Memorandum conda command
Linux command <Basic 1>
ps command "wchan"
setuptools command memorandum
Django + Docker command
Broken pip command
Linux command collection
Linux mkdir command
Linux command basics
[Linux] Git command
Docker command summary
Linux (command memory)
Rename and move files (directories) with mv command
DNS dig command