@gjacobse , yes, that looks like it
Posts made by pattonb
-
raid controller batteries
Where does one get raid controller batteries , at a modest price. I see that I can get a new one for ~150.00
I am thinking $10 -15 is more reasonable. It is for an older controller, LSI 9750, however, it is doing its job and I expect
it to work another year or two or three. -
RE: file rename + syntax
works exactly as intended, my sincere appreciation.. Now I have to try and understand, the syntax
and what I missed. All I had to do was change prename to rename ( Debian distro)
thanks, kindly -
RE: file rename + syntax
@DustinB3403 I went to a windows box, had some errors, sorted all of them except this one. I put in the command I used.
any assistance is greatly appreciated.the error message first
At line:1 char:154- ... '-'} -ErrorAction SilentlyContinue -ErrorVariable daError) if ($daErr ...
-
~~
Unexpected token 'if' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedTokenand the command I used is,
(Get-ChildItem -Path "D:\bradford_temp" -Recurse | Rename-Item -NewName {$_.Name -replace '~','-'} -ErrorAction SilentlyContinue -ErrorVariable daError) if ($daError.Exception.Message -match " Source and destination path must be different.") { Write-Output "ERROR - There was an error. Pay Attention : [$daError]" }
-
RE: file rename + syntax
@Grey where does the destination path go from the above script by DustinB3403
-
RE: file rename + syntax
@Grey interesting, Has anybody tried it ? It seems to me that powershell syntax is much longer than linux,
my powershell knowledge is quite limited, but may not stay that way........thank you
-
RE: file rename + syntax
@DustinB3403 I just may transfer to a windows box, and use your script, just for the powershell experience.
I will let you know. thanks again -
RE: file rename + syntax
@DustinB3403 I looked at similar. I had to do this a few years back and saved the command lines, then I started 'boning' up again, (today), I thought I had it. but obviously, I did something wrong. I was taking the easy route ( so I thought). The brain isn't working as well as I want today. LOL
-
RE: file rename + syntax
@pattonb it is a solution, and I appreciate the input, and I just may, if the frustration gets too high.
thank you -
RE: file rename + syntax
@pattonb if need be I could transfer the files, ( about 50gb), but would rather not.
-
RE: file rename + syntax
@DustinB3403 thanks, but this is on a linux server.
-
file rename + syntax
struggling with renaming 35k files. they all have a '~' at the end of the name, ie. blahblah.xls~, blahblah.docx~, etc.
I thought rename would do the job, but I have something incorrect with the syntax, or I don't know what I am doing.
The files are in many sub directories, all differing in depth. I tried the following, any suggestions ?find . -iname ".~" | rename -n 's/.~$//' . mmm
weird, the window wasn't showing the last part of the command, so I added the 'm', so the '.' would show up ignore the m's
but no action. sigh
-
RE: SEO primer
@scottalanmiller Is Matomo,Open Web Analytics,AWStats of any value. I suspect am I asking as to whether tying into the Google World provide any advantage. or will the other software provide me with the data I need. as for as data , I only really need traffic, visits, pages, how long they stay, or pages they view. Basic ( in my mind) , to see whether traffic is increasing/decreasing , and which pages draw the most interest. The audience is local, services provided don't extend beyond the local area , pop, ~1.4 million
-
RE: SEO primer
I understand, a summary of all your previous blogs, I was hoping for something with a little more detail, ( I did say hoping)
as in a pdf , a primer. Perhaps I am trying to 'game' the learning process. I haven't had to deal with web pages in many years, and I see change in the only constant. -
SEO primer
I have been coerced into the 'seo' arena. I have read Scott's post and associated threads. Very informative. The 'net has
so much on the subject, and a lot of 'snake oil', I am wondering if anybody knows of a good primer I could utilize/follow to get started. Also, google analytics, necessary, optional, ....... thanks kindly -
RE: Finding Windows 10 Product Key
@scottalanmiller I haven't done hundreds, but close to 100, and Scott's experience is exactly the same as mine.
-
RE: Win 10 + older HP laserjet printers
@Obsolesce Step1 was to get the printing working. Now that it is working, I will be investigating as to whether the PCL6 driver works, or the universal drivers. They have with other older HP printers, this particular one didn't. thus the reason I presented the situation to the group. I am appreciative of all responses
-
RE: Win 10 + older HP laserjet printers
Interesting enough, I changed the usb port ( new workstation) from the usb 3 port to the usb 3.1 port, and it started working as expected, (using the pcl5 driver I had installed earlier) Why, I do not know. When I examine further I will update.
Thank you for your comments. -
RE: Win 10 + older HP laserjet printers
@black3dynamite Yes i did, i installed the pcl5 drivers from their website , the .inf etc.
I didn't look at any of the event logs, ( sigh), I had better do that before I make more submissions. -
Win 10 + older HP laserjet printers
Having trouble getting an older HP laserjet (4300 series) to work on a recently upgraded win 10 workstation. I have in the recent past, used older drivers ( pcl5) and was worked well. printer connect with centronics to usb cable, and Win 10 does recognize the printer.