Tuesday, April 1, 2014

Getting a directory listing on Windows and Mac

 It is easy to get a directory listing for a folder from a windows machine using command prompt window:


Get a directory listing from Windows machines:

cd C:\Foldername
dir /s/b/o:gn > C:\directory_list.txt




Similarly, you can get a directory listing via terminal on mac:

Get a directory listing from Mac machines for a folder:

find ~ /Users/username/Foldername/ > /Volumes/Macintosh\ HD/Users/username/Directory_Listing.txt

No comments:

Post a Comment