CodingDumping file names to a file

Dumping file names to a file

I have a PC and a Mac that I work with, but mostly I use the Mac.

Of course on the Mac, you can do a lot with the Terminal.app and Bash. For example, you can dump out a file listing into a text file:

ls *.cpp > ../implementation_files.txt

Categories: Coding

Comments

  1. quaid

    2009-08-29 6:52 am

    bash is SOOOOOOO 1999. All the cool kids are using zsh.

Post a comment

Your email address will not be published. Required fields are marked *