commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Find all files in SVN workspace directories which are uncommitted. List them and find their properties
There is 1 alternative - vote for the best!
The AWK part of the code will "collate" the fields from 2nd to Nth field (this is to handle any svn directories that may have spaces in them - typical when working with code that is interchangeably used with windows environment - for example, documentation teams) - the output is passed to "ls -ld" - the -d option to ls will tell ls to handle directories itself, rather than do ls on the directory. The '-p' option is just for pretty printing directories, links and executables (for added readability).
Finally, the entire "constructed" command will be passed onto sh for shell execution.
If you can do better, submit your command here.
You must be signed in to comment.