-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02e4a61
commit caa9420
Showing
2 changed files
with
311 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import os | ||
|
||
def list_files(startpath): | ||
with open('file_list.txt', 'w') as f: | ||
for root, dirs, files in os.walk(startpath): | ||
for filename in files: | ||
f.write(os.path.join(root, filename) + '\n') | ||
|
||
# Change the directory path as needed | ||
directory_path = '/Users/austin-songer/code/1/AuditAlly' | ||
list_files(directory_path) |
Oops, something went wrong.