Learn Java

Tuesday, 19 May 2015

How to remove files recursively in Git

A tool used to generate .bak files when it is used for comparing two files. One way to fix this is to mentioned the extension .bak in .gitignore file. The other way is to manually find and the remove the files recrusively

find . | grep .bak | xargs rm -rf
Posted by Ananda Paul at 20:42
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: GitHub

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Ananda Paul
View my complete profile

Blog Archive

  • ►  2021 (1)
    • ►  May (1)
  • ►  2018 (1)
    • ►  April (1)
  • ►  2017 (1)
    • ►  July (1)
  • ►  2016 (7)
    • ►  August (1)
    • ►  June (4)
    • ►  May (2)
  • ▼  2015 (23)
    • ►  December (1)
    • ►  September (1)
    • ►  August (2)
    • ►  July (2)
    • ►  June (5)
    • ▼  May (12)
      • How to generate Excel file from XML using XSLT
      • How to sort date in jQuery datatable
      • How to display the folder structures like a tree s...
      • Plugins not shown in Updated or Available sections...
      • Increase the Memory in Tomcat
      • How to remove files recursively in Git
      • How to debug Angular JS using Batarang
      • How to left pad zeros for a column in Sql Server
      • How to implement the HTTPS protocol in jboss for t...
      • Application logging is not working in jBoss
      • java.lang.IllegalStateException: More than the max...
      • How to insert code into blogger
Simple theme. Powered by Blogger.