Search Results

Search: Posts Made By: vipertech
1,379
Posted By vipertech
I believe it actually continues to run because I...
I believe it actually continues to run because I currently am running one folder at a time and then watching TOP until the process goes away. Then I move to the next folder.

Thank you for the...
1,379
Posted By vipertech
I thought of that type of script but will that...
I thought of that type of script but will that actually wait for the first instance of the tool to finish and then run the next instance?

I guess I'm just being a tad paranoid...haha.
1,379
Posted By vipertech
Script that waits for process to complete
Hello,

I am in need of running an executable provided by a vendor that basically syncs files to a db. This tool can only be run against one folder at a time and it cannot have more than one...
10,020
Posted By vipertech
RudiC, thanks. I took that code from somewhere...
RudiC, thanks. I took that code from somewhere on the net and just left that line in. I guess in this particular case, it is unnecessary.

---------- Post updated at 01:25 PM ---------- Previous...
10,020
Posted By vipertech
Thank you everyone for your replies and...
Thank you everyone for your replies and assistance. Here is a code that I ended up with that works quite well. It is a combination of information I learned here and some scripts I found scattered...
10,020
Posted By vipertech
My two loop idea doesn't work anyways because it...
My two loop idea doesn't work anyways because it still will not find sub-folders of sub-folders already renamed.
10,020
Posted By vipertech
So does it make sense then for me to run the...
So does it make sense then for me to run the script with loop that first goes and changes all of the folder names and then later in the script another loop that then goes through and changes all of...
10,020
Posted By vipertech
I think this is working for me find . -iname...
I think this is working for me

find . -iname "* *" -printf '%p\0' | while IFS= read -r -d '' FN; do
FNnew=`echo "${FN%${FN##*[^ ]}}"`
echo "$FN" "$FNnew"
mv "$FN" "${FN%${FN##*[^ ]}}"
done...
10,020
Posted By vipertech
RudiC, thank you for the response. My apologies...
RudiC, thank you for the response. My apologies for forgetting the code. Didn't think it was necessary for just folder name examples.

I want to be able to parse through a folder, find all...
10,020
Posted By vipertech
I'm a mediocre script writer so the only thing...
I'm a mediocre script writer so the only thing I've managed to do so far is use a script I found that replaces all spaces with underscores. So my example folder I listed above ends up looking like...
10,020
Posted By vipertech
Remove trailing space from file and folder names
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the...
2,079
Posted By vipertech
Chubler_XL, Thank you for the suggestion! ...
Chubler_XL,

Thank you for the suggestion! That worked great other than one small issue....it takes the archive folder itself and all of its contents and places them under the newarchive folder. ...
2,079
Posted By vipertech
I thought about the renaming process but the...
I thought about the renaming process but the folder structures already exist and there are some that already are in place. i.e. already have the folders in the correct spot. So I really don't want...
2,079
Posted By vipertech
Script for moving series of sub folders
Hello, I'm new to this forum. Did a search but I didn't quite find what I was looking for. This is probably a fairly easy request but I'm just not sure how to accomplish this.

I have a folder...
Showing results 1 to 14 of 14

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