How to delete all files/directories with exception/s using RM command in Linux

You can delete all files and/or directories with some exceptions using this command: We will be using: ls command to list all the names of files and folders on our current directory. | grep -v (grep inverse) to filter all the names of  files and folders which are not on your <name> list.  | xargs to pass the results from the previous commands […]

Read More

How to list all files and sub-folders with SVN repository path using command line in Windows

Operating System: Windows Other Requirements: SVN (like Tortoise) SVN command line client Target Repository Steps: Open Windows Command Processor. Run this command: svn ls –depth infinity http://<url of your target repository>/ You have other options for the depth. For my case, I used infinity because I need the path of all files and sub-folders inside my […]

Read More