sbf_up_sub: Move Up Sub Folder

View source: R/sub.R

sbf_up_subR Documentation

Move Up Sub Folder

Description

Moves up the sub folder hierarchy.

Usage

sbf_up_sub(n = 1L, rm = FALSE, ask = getOption("sbf.ask", TRUE))

Arguments

n

A positive int of the number of subfolders to move up.

rm

A flag specifying whether to remove the folder and all its contents if it already exists.

ask

A flag specifying whether to ask before removing the existing folder.

Value

An invisible string specifying the new sub folder.

See Also

Other directory functions: sbf_add_sub(), sbf_get_archive(), sbf_get_db_name(), sbf_get_main(), sbf_get_sub(), sbf_get_workbook_name(), sbf_reset(), sbf_reset_db_name(), sbf_reset_main(), sbf_reset_sub(), sbf_set_db_name(), sbf_set_main(), sbf_set_sub()

Examples

sbf_set_sub("nameofsub/othersub/yetothersub")
sbf_up_sub()
sbf_get_sub()
sbf_reset_sub()

poissonconsulting/subfoldr2 documentation built on Nov. 17, 2024, 1:33 a.m.