Skip to content

Commit

Permalink
File List
Browse files Browse the repository at this point in the history
  • Loading branch information
austinsonger committed Jun 7, 2024
1 parent 02e4a61 commit caa9420
Show file tree
Hide file tree
Showing 2 changed files with 311 additions and 0 deletions.
11 changes: 11 additions & 0 deletions file-list.py
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)
Loading

0 comments on commit caa9420

Please sign in to comment.