You are not logged in.

Search results

Search results 1-7 of 7.

Tuesday, June 29th 2004, 3:34am

Author: D_Klaussen

/.kde/Autostart "file not found" for bash scripts

Greetings I'm a bit confused about how to use bash scripts in the /.kde/Autostart folder. I've tried a few different ones and they all have the same problem which is that upon booting I'm greeted with a dialogue that says "file not found." I started off with a simple bash script to set up samba shares and I thought that perhaps part of the problem was that it required root priviledges. I changed users and groups from a regular user to root, but that didn't change anything. I also tried putting t...

Friday, April 30th 2004, 9:14pm

Author: D_Klaussen

How to auto replace smaller files on copy.

You are a saint my good man. I went ahead and used a little GUI utility to change the names to underscores and it worked. It's awesome. Great stuff. I really appreciate the help. Of course if there is a way to handle spaces in the script without too much trouble, I'd be interested to know how. But I don't want to trouble you to much because the heavy lifting is done. Muchas gracias.

Friday, April 30th 2004, 8:45pm

Author: D_Klaussen

How to auto replace smaller files on copy.

Oh man, I almost got it. But I think it's choking on the blank spaces on the file names. At first I goofed it up by using the single quote " ' " rather than the backtick " ` " but I caught that and it started to work until it hit the a name that started with an A and then had a space. Is there a way to make the script handle blank spaces? I can see that another alternative would be to convert the spaces into another character bfore running the script. Do you think that would be less trouble than...

Friday, April 30th 2004, 11:17am

Author: D_Klaussen

How to auto replace smaller files on copy.

Whoa, I was in town for a day or so and didn't have time to check back. I'm so glad to get a response on this one. I'm going to give this a little run-down this evening. Thanks for the hand-holding here, I'd really like to be better at shell scripting besides just using like a DOS batch file and this is a great one to sink my teeth into. I'll let you know what happens.

Thursday, April 29th 2004, 7:29am

Author: D_Klaussen

How to auto replace smaller files on copy.

Ok, m4ktub, I'm thinking perhaps you got turned off by my example of two Mp3 collections. Or maybe you're just not a big hand holder for less than completely on-topic posts. Whatever the case, thanks for the initial help there. I'll play with your script on my own although the usage seems a bit odd the way you've presented it as I'm concerned with directory merging and specifically don't want to name files explicitly. I might just have better luck starting from scratch. But to get closer to the ...

Wednesday, April 28th 2004, 7:30pm

Author: D_Klaussen

How to auto replace smaller files on copy.

I can't say I really grok what's going on in the script, but I sat around with the man pages on cp and I don't think I can do what I want with a cp command either. Originally, I was hoping there was options in Konqueror that would allow me to set up this sort of simple logic, but it looks like the answer is no. In this case, manually using mouse clicks to sort though the files is not exactly a preferable option. Let me give you an example of what I'm trying to do. I'm not saying this is what I'm...

Wednesday, April 28th 2004, 4:15pm

Author: D_Klaussen

How to auto replace smaller files on copy.

Hello. This is a file management question about Konqueror and I didn't know where else to ask. Here's the deal. I have a bunch of files with the same names that are different sizes in different directories. I want to copy them into a single directory and automatically overwrite the smaller ones of the same name with the bigger ones. At the same time, I don't want the existing bigger ones to be overwritten if the new ones are smaller. So, the idea is to create a single directory with only the big...