DOS command to show listing of Writable Files
Writing by shivdev on Tuesday, 24 of June , 2008 at 1:34 pm
Sometimes developers create new files and forget to add them into their VCS. Later they want to see what files are WRITABLE (not read only) that have been added (newly created) so they can be added to the version control system.
dir /a:-R /s /b *.java
The *.java above can be replaced with *.* to search for all writable files.
The Linux equivalent to find the list of writable files would be something like. You can tweak the grep and the maxdepth to suit your needs.
find . -maxdepth 100 -type f -writable | grep .java
Leave a comment
Category: Java
- Add this post to
- Del.icio.us -
- Digg -
- -
- Tweet -
-
-