No such thing as a small change | |
PerlMonks |
Copy bookmarksby scottstef (Curate) |
on Mar 12, 2001 at 08:28 UTC ( [id://63740]=CUFP: print w/replies, xml ) | Need Help?? |
This little script is used to copy my Netscape Navigator bookmark.htm file from my laptop running NT to my bsd box at home.
There are two problems with it: 1: I need to set it up so I can pipe in a file of different machine names so it will update all of my machines. 2: I need to tweak it so it will do some sort of file globbing. Right now the only way I can make it work is to put it in the same directory as the bookmarks file. (I couln't figure out how to get the absolute path (Program Files/Netscape/Users/default as the path) Any ideas on what would be the best way to get the program files directory name? Would a glob be best?
Answer to number 2- bad scotstef! bad scotstef! Did a perl monks search on dos file spaces and i think vroom had posted this a year ago. WOW rtfm worked. Sorry I should have done that earlier.
Back to
Cool Uses for Perl
|
|