Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, I'm trying to get the first 7 characters in all the files of a given folder, and output them in a text file, like:
heresafile.txt
andanother.txtoutput:
heresaf
andanotThanks

I guess you could install the posix command head and do it that way.
Could write a basic program to take the variable filled with each.
Bet if you asked the user Nails he's have a winner.
Playing to the angels
Les Paul (1915-2009)

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |