Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 geany problem
Index -> Off Topic
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
saltpro15




PostPosted: Mon May 11, 2009 3:41 pm   Post subject: geany problem

Hey guys,

just got the IDE geany for ubuntu and installed a new theme for it, but for some reason the filedefs folder copied to my desktop, and it's irritating. it also won't let me move or delete it, since I'm not using the root account, and sudo doesn't work, any ideas?

I tried sudo rm filedefs
but it errors out saying filedefs is a directory
Sponsor
Sponsor
Sponsor
sponsor
DemonWasp




PostPosted: Mon May 11, 2009 4:01 pm   Post subject: RE:geany problem

You need the -r flag on remove commands used to remove a directory. It means "recursive", so it deletes everything in that directory and everything within it.

Keep in mind that this will almost certainly prevent geany from doing its thing correctly.

For more information on any command, use "man <command-name>".
saltpro15




PostPosted: Mon May 11, 2009 4:31 pm   Post subject: RE:geany problem

I'll just re-install it if it messes it up I suppose. thanks DemonWasp
DtY




PostPosted: Mon May 11, 2009 8:32 pm   Post subject: RE:geany problem

you can also use -f to force it, so it wont fail if it can't find one of the files, and wont prompt you:
# rm -rf <directory name>
Otherwise it will ask you if you are sure you want to delete it file individually.
Display posts from previous:   
   Index -> Off Topic
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: