code: def create_cpio(archive, compression, cmd, verbosity, interactive, filenames):
      
      cmdlist = [util.shell_quote(cmd), '--create']
      if verbosity > 1:
          cmdlist.append('-v')
      if len(filenames) != 0:
          findcmd = ['find']
          findcmd.extend([util.shell_quote(x) for x in filenames])
          findcmd.extend(['-print0', '|'])
          cmdlist[0:0] = findcmd
          cmdlist.append('-0')
      cmdlist.extend([">", util.shell_quote(archive)])
      return (cmdlist, {'shell': True})
docs: Create a CPIO archive.