|
|
|
|
Blog by JasmineCorp | Create your own Blog
|
RSS Feed | Login |
Vinod's Linux tips blog. Where you can find some cool tips for Linux.
|
Tar files starting with specific characters, How to By Vinod at 2005-06-23 09:47:41
|
Ever ran into a situation where you want to tar files starting with characters say from d to k? Here is how to do it.
tar -cf tarfilename.tar [d-K]*
This will create a tar file named tarfilename.tar and will include files whose names are starting with any character from d to k.
Did you Notice the small d and capital K? if you put small k files starting with capital K will be left out so make sure that you put capital letter for the bigger one.
Vinod http://vinodisaac.com |
Permalink | Comments (0) |
Comments
|
To add a comment please login by clicking here
|
|