Skip to content

Loop through all the files in a directory, get the filenames and write to a txt file

Notifications You must be signed in to change notification settings

TheBokiya/go-get-filenames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-get-filenames

Loop through all the files in a directory, get the filenames and write to a txt file

Run the project

  1. Make sure you have Go installed on your machine.
  2. Replace the folder name
filenames := readFilenames("pre-wedding")
  1. Execute
$ go run main.go

About

Loop through all the files in a directory, get the filenames and write to a txt file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages