Skip to content

Instantly share code, notes, and snippets.

@ivelasq
Created February 14, 2023 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivelasq/a197977292a8f28de5df5427c5441193 to your computer and use it in GitHub Desktop.
Save ivelasq/a197977292a8f28de5df5427c5441193 to your computer and use it in GitHub Desktop.
Find file sizes in directory
all_files <- fs::dir_ls(".", recurse = TRUE)
files_info <-
dplyr::bind_cols(all_files, fs::file_size(all_files))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment