Search Results

Search: Posts Made By: Lillyt
2,293
Posted By Lillyt
Thanks. it works
Thank it works.
Can you tell me how the filename is extracted from the directory path from your code "newname=${fname##*/}"

---------- Post updated at 04:17 PM ---------- Previous update was at...
2,293
Posted By Lillyt
If I put put "$1/*.$2" it put the all the files...
If I put put "$1/*.$2" it put the all the files in 1 string.
2,293
Posted By Lillyt
How to read files with spaces
Hi

I am a newbie to unix. I have a current script that reads a directory for excel files and renames the files. There is a problem now because some of the files have spaces. If I put quotes on...
1,942
Posted By Lillyt
In need of explanation
Its great someone provided this script that strips out a filename and extension but can someone explain how each line works?

file1='Jane Mid Doe.txt'
newfile='Jane.txt'


1)...
2,185
Posted By Lillyt
Waiting for a file
I am such a newbie. I am from a mainframe background, so this stuff is new for me to interpret. I dont know if I need a sleep or wait.
I need a loop to wait for a filea or fileb to be created...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 05:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy