hey im writing an excel automation file to take vaules from an excel file, store them in a temp file and them place back into the original file once that file is erased. It is for my work, this would same me tons of time, as of now they have me re-entering a lot of numbers that dont need to be...
I would like to know how to list directories only without a / at the end. I would like to only see them in my current dir.
for example
ls - d */ gives
dir1/ dir2/ dir3/ dir4/
but is there a way to get only
dir1 dir2 dir3
I need to use it in this foreach loop:
foreach x ( ` ls -d */ ` )...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.