WPKenny
Resident Freddy
- Joined
- Dec 22, 2003
- Messages
- 1,348
I'm a little stuck with excel.
Basically I have a file that has been created from a directory listing of several machines.
It's a single column. Each machine's directory listing is headed by the machine name and it's IP. At the end is a double line break.
What I'd like is some UNIX script (it's in Mac OSX) that will turn the file into two columns. In the left column I want the name of the machine repeated alongside each file on that machine. The filenames would be in the second column.
The other way I can think of doing it is importing the plain text into excel into a single column and writing a formula that will pull out the machine name and put it into the next column and paste it all the way down till it hits a blank cell on the left of it.
This could use a unique string that only appears in the machine name such as the start of the IP address which will be the same for each machine.
I hope some of that makes sense or perhaps someone out there knows of another way to create a comprehensive software audit using Apple Remote Desktop?
Cheers.
PS. I forgot to say why I needed it that way I explained. Basically I want to see what software is on who's machine. So I could use the auto filter function in Excel and it would show all the occurrences of Photoshop.app (for example) besides the machine name it was found on.
Basically I have a file that has been created from a directory listing of several machines.
It's a single column. Each machine's directory listing is headed by the machine name and it's IP. At the end is a double line break.
What I'd like is some UNIX script (it's in Mac OSX) that will turn the file into two columns. In the left column I want the name of the machine repeated alongside each file on that machine. The filenames would be in the second column.
The other way I can think of doing it is importing the plain text into excel into a single column and writing a formula that will pull out the machine name and put it into the next column and paste it all the way down till it hits a blank cell on the left of it.
This could use a unique string that only appears in the machine name such as the start of the IP address which will be the same for each machine.
I hope some of that makes sense or perhaps someone out there knows of another way to create a comprehensive software audit using Apple Remote Desktop?
Cheers.
PS. I forgot to say why I needed it that way I explained. Basically I want to see what software is on who's machine. So I could use the auto filter function in Excel and it would show all the occurrences of Photoshop.app (for example) besides the machine name it was found on.