filename_prefix: filename_prefix

Description Usage Arguments Examples

View source: R/filename_prefix.R

Description

Removes prefixes of specified size in filenames.

Usage

1
filename_prefix(filepath = ".", prefix_n = 3, verbose = TRUE)

Arguments

filepath

Path to files. Defaults to current directory.

prefix_n

Length of prefix, measured in parts after splitting by "_". Defaults to 3.

verbose

Logical. Should it print descriptions of any changes?

Examples

1
2
folder <- "FCS_trimmed"
filename_prefix(filepath = folder, prefix_n = 4)

ec363/filenamer documentation built on March 22, 2020, 2:16 a.m.