DOS command to show listing of Writable Files

Writing by 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

Emma – A Free Java Code Coverage Tool

Writing by on Sunday, 22 of June , 2008 at 5:03 pm

EMMA is an open-source toolkit for measuring and reporting Java code coverage. Tutorial Coming Soon…

Leave a comment

Category: Java

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.