hpc.del: Deletes all files in the specified folder on the remote host...

View source: R/hpc.del.R

hpc.delR Documentation

Deletes all files in the specified folder on the remote host (HPC) via ssh

Description

Deletes all files in the specified folder on the remote host (HPC) via ssh

Usage

hpc.del(
  folder = NA,
  user = NA,
  command = "find",
  host = "transfer.gwdg.de",
  key = NA
)

Arguments

folder

folder where files are deletd on the remote host

user

user name on the remote host

command

decide which command is sued for deleting files. Options are "rm" or "find".

host

host server address

key

link to the ssh key file on the local system

Details

Deletes all files in the specified folder on the remote host (HPC) via ssh. The command options can be used to define which bash command is used for deleting files. While "rm" may be faster, it throws error messages for very long file lists. Thus, "find" should be used for large numbers of files.


EFForTS-B10/Refforts documentation built on March 26, 2023, 5:45 p.m.