Random Thoughts !!!

Thursday, February 13, 2014

To rename all the files in a folder

source : http://stackoverflow.com/questions/6329505/how-to-rename-all-file-in-a-folder-with-a-suffix-in-a-single-unix-command

ls | xargs -I {} mv {} Unix_{}

This is useful to change name from abc.txt to Unix_abc.txt
Posted by Unknown at 1:58 AM

No comments:

Post a Comment

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

Previous Posts

  • ►  2015 (1)
    • ►  January 2015 (1)
  • ▼  2014 (33)
    • ►  December 2014 (2)
    • ►  November 2014 (2)
    • ►  September 2014 (1)
    • ►  August 2014 (4)
    • ►  July 2014 (1)
    • ►  May 2014 (3)
    • ►  April 2014 (2)
    • ►  March 2014 (7)
    • ▼  February 2014 (7)
      • accessing points in Point clouds with iteration ov...
      • Kdtree headers in PCL
      • convert Matrix4f to Affine transformation in Eigen
      • To rename all the files in a folder
      • Errors the errors that I get while compili...
      • adding / Linking GTSAM with ROS
      • linking external c++ library to ROS
    • ►  January 2014 (4)
  • ►  2013 (61)
    • ►  December 2013 (10)
    • ►  November 2013 (8)
    • ►  October 2013 (7)
    • ►  September 2013 (4)
    • ►  August 2013 (32)
  • ►  2012 (1)
    • ►  August 2012 (1)

You May Like these ... ! ! !

Total Pageviews

Awesome Inc. theme. Powered by Blogger.