How to format and indent xml file, Ubuntu, Linux
There’s a very simple way to format and indent ugly.xml file to pretty.xml in Ubuntu Linux:
|
1 |
xmllint --format ugly.xml --output pretty.xml |
Simple, isn’t it?
How to copy directory without .svn files
Have you ever tried copying files from SVN repository to other location ommiting .svn directories & files?
If you are using linux distro, this command will help you:
|
1 |
rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy |
Enjoy!












