shell

clink.util.shell.call(args, cwd=None)[source]

Perform new processing

Parameters:
clink.util.shell.cp(src, dest, exist_ignore=True)[source]

Copy file or directory

Parameters:
  • src (str) –
  • dest (str) –
  • exist_ignore (bool) –
clink.util.shell.rm(path, exist_ignore=True)[source]

Remove files

Parameters:
  • path (str) –
  • exist_ignore (bool) –
clink.util.shell.mkdir(path)[source]

Create new directory

Parameters:path (str) –
clink.util.shell.chmod(path, mode)[source]

Change mode of file

Parameters:
  • path (str) –
  • mode (int) –
clink.util.shell.touch(path, mode)[source]

Create new empty file

Parameters:
  • path (str) –
  • mode (int) –