Red Hat :: Bunch Of Directories Names Beginning With .gnome In /root
Mar 14, 2011Bunch of directories beginning with .gnome in /root..
View 1 RepliesBunch of directories beginning with .gnome in /root..
View 1 RepliesI have a considerable number of files in a subdirectory (some fascinating old military clips from archive.org - search on Big Picture if interested). Anyhow, I am downloading them using Internet Download Manager running in an XP virtual machine in VMWare on my Ubuntu 10.04 PC (due to the queuing, restart and speed capabilities of IDM). But I digress - the files are being saved on the host (Samba share) without a file extension. So I have a collection of files with names like
Quote:
The Douglas MacArthur Story
THEY WERE THERE (1960)
I wish to add the extension ".mp4" In Windows this is simply done with the command
Quote:
rename *. *.mp4
This of course does not work in Linux. I have researched the Linux rename command and reviewed a lot of examples. However, I have not found a way to add an extension to a batch of files which are named with no extension to start with. The spaces in the file names also seem to present an issue. At the moment I am renaming them from the Windows VM while they are sitting on the Samba share using the ancient File Manager program from Windows NT which works great on XP. I have experimented with the file rename facility in Gnome Commander however, it does not seem to want to do something so simple.
How do you tell a shell script to search for the directory within another directory (in this case /lib/modules) whose characters in its name (in this case numbers) are highest? I want to be able to tell mkinitramfs in a script to be able to see the highest possible kernel version in the /lib/modules directory.
View 2 Replies View RelatedI'm not sure if this is possible or even where to start. I assume that this can be done with an sh script using tar or similar.I have several very large zip files that contain images for all of the products in my online store. Each image is named after its 13 digit SKU (for example, 9987788000012.jpg). In order to import products into my store, all images are placed into a media directory. Unfortunately, there are over 100,000 images.
So I would like to break the images into sub-folders based on file name. For example, when I extract store_images.zip (or tar or whatever), my extract script would create directories (if they don't already exist) based on the first three digits of each image name, placing each image into the appropriate bottom level directory. For example, "9987788000012.jpg" would be placed in the following directory "media/9/9/8", with media as the root and "8" as the directory that holds any images that start with "998". Perhaps two sub-folders would be less cumbersome.Assuming this requires a script, particularly since it involves scanning image names, creating folders, and saving images to specific directories, which language would serve my needs best? PHP? Has anyone had to do something similar?
I become to use tar with incremental feature for archiving data under ubuntu.But when I try to extract archive later under windows (using gnu tar also) it creates many directories like this:
<...>
11324447220
11324447221
[code]...
I have an internal hard drive and an external hard drive, both with about 350 GB of data. The data came from the same source, but over the last couple of years, different people have moved files around to different directories, and some files have been deleted. Now I want to merge all the files onto the internal hard drive. I estimate that 80% of the files on the external hard drive are the same, so I don't want to copy 290+ GB of data over when I already have it.
Therefore, I need a way to find just the files on the external hard drive that don't already exist on the internal one. In other words, I need to create two lists of file names irrespective of directories and compare them, selecting only the file names that exist in one list OR the other. I've Googled for solutions but can't find anything suitable. There are ways to create text files of the file names and compare them with diff, but they have to be in the same order, and since these files are in vastly different directories, that won't work.
I have a bunch of .7z files in a directory, and I need to put each one of them into a separate directory, named after the file (without extention). The command line I use:
Code:
find . -type f | mkdir `sed -e "s:..(.*)...:1:"` ; ls | grep .7z | cp * `sed -e "s:(.*)...:./1/:"`
Copying fails though:
[Code]....
PS. I don't want to use scripts, I want to do it using simple commands and piping.
I'm about to install Gnome on my ubuntu server box (that means, a headless server which I'm gonna access through vnc) I usually just run "apt-get install gnome" But it installs a bunch of stuff I'm not going to use (email, office, games, etc..). All I need is the most basic environment to allow me running programs and their GUIs (browsers, custom software etc), and access it with vnc How do I procced so I have the lightest gnome install possible? That's what I want to do, install gnome and access it through vnc. I'm aware of the number of other options I have.
View 2 Replies View RelatedI need to replace ":" from multiple files names, since I am going to copy those files from a linux partition, which admit the ":" to a FAT32 partition, which does not.
Example:
original name: eg06_ana_21-05-06_09:21:03.JPG
wished name: eg06_ana_21-05-06_09-21-03.JPG
I have googled a lot but I have not been able to adapt the examples given by people to my aim.
It seems that rename command is what I should use, but I have no idea to build the correct pearl expression.
So let's say I entered some dir in MC as a regular user and there is a file with very long name which is not convenient to spell and I want to edit it with nano as root. In this directory I type in a command "sudo nano [name]" and autocompletion doesn't work because the TAB key is for another purpose in MC. Can I insert a name of selected file without typing it in MC?
View 3 Replies View RelatedI have a centOS 5 server running apache 2 with it's web root at /var/www/html. By setting up a dns entry to point to the computer's IP, I was able to go to testing.myservername.com and reach the contents of that directory.My question is, how can I go about mapping multiple future domain names to folders that are under this webroot?For example how would i bind www.temporarydomain.com to the /var/www/html/temporarydomain/ folder and also be able to map www.anotherdomain.com to /var/www/html/anotherdomain/?
View 1 Replies View RelatedI'm running 9.10 on my laptop hooked up to an external monitor via HDMI. However gnome places the name of each screen in the upper left corner of each screen so that my laptop has a "laptop 13" icon and my external has an "ACI 22"" icon blocking gnome's Applications Menu. Is there anyway to disable these icons?
They are detailed here: [URL] "GNOME 2.24 has upgraded its screen resolution controls to make this possible. Utilising the new XRandR 1.2 specification from X.Org, this dialogue enables users to easily set up individual monitors in a number of configurations. Monitors are named and the names appear in the top left corner of the screen for easy identification."
I recently updated to Ubuntu Lucid Lynx from Karmic (fresh install though). All of the packages I used in Karmic seem to work nicely in Lucid, with one exception gnome-rdp. I'm a sysadmin in several windows environments so as you can imagine I love the session storage and grouping features. Unfortunately gnome-rdp is not displaying the group names. it stores my session and creates the group structure just fine, it just doesn't show me the group names in the app or the right-click menu on the top panel icon. My gut says it has something to do with the new Lucid theme, but I like the new theme. Does anyone know of a config file I can edit, or something I can do to disable theme integration, just for gnome-rdp?
View 3 Replies View RelatedWhat has happened to the option to display names of each workspace on the lower panel bar?
Normally it was just a case of 'right click' any of the workspace and selecting 'Preferences', setting number of workspaces required and then using the name listbox to name each to desired title. In Maverick only the number of work places can be set; the list of names facility has been deleted from display. The current workspace name displays in the tooltip display as "workspace n", but there seems to be no easy way to change this title.
In 'gconf-editor' under schemas>apps>workspace_switcher_applet>prefs>displ ay_workspace_names it only gives the system message "...can't be edited..."
I just setup a vsftpd server and I am baffled about one issue. I allow local login and have not chroot anybody and disallow anonymous login. When connected as a local user I can browse the servers file system including the root (/) directory. There I can download whatever file I want but not write to it.All permissions are untouched since installing the server.Looking at the file permissions they are in general rwxr-xr-x (root root)
Isn't this a security threat? If so it seems strange as these are the default permissions. I don't dare changing the permissions for the entire file system.
I discovered two folders marked with a cross in my root:
- root
- lost+found
And when I'm trying to reinstall a newer version of Netbeans, 6.9.1. it claims that there is already something running in 'root folder "The installer lock file exists at /root/.nbifile/.nbillock"
The question is - is those folders are needed for Ubuntu working? -If not how to delete them? And one more question - how to delete a programme from the 'Applcations-Programming'? I tried to do that via 'System-Preferencies-Main Menu' and tried to delete a previous version of Netbeans, but it didn't work, - nothing happens, the previous version is still there, so I have two ones - 6.9.1 and 6.9.
is there any way so that we can restrict root to delete a file/directories and What is extended file attributes.
View 12 Replies View RelatedNeed help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...
View 4 Replies View RelatedWhen I select "Ubuntu desktop" from gdm, I get a blank screen (with wallpaper) and no evident functionality. The mouse pointer is present, but I have no panel or desktop menus. The file .xsession-errors contains the following:
Code:
/etc/gdm/Xsession: Beginning session setup...
No default user directories
[code]....
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
View 14 Replies View RelatedI want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh files
like that and my requirement is the (1- directory is moved to one new directory(dir) which we are given in the script)and (2 .txt files are moved to another new directory(test) which we are given in the script)and ( 2 .sh files are moved to another new directory(bash) which we are given in the scrip)finally the directory anish should be empty..using bash script.how it is possible !!
Using RHEL 5 the admin user is logged on and Gnome is open. I need to make a change to the /etc/security/limits.conf file using root but if I su to root the change does not stick. I've been told to log on as root without using 'su' but cannot find out how to do this?
View 11 Replies View RelatedIt is very well known that running VLC as root in KDE is easy: in the menu editor, in the Advanced tab, you check "Run as a different user", giving the name of the user in your system. Then VLC runs from root, playing everything placed inside the user's folders and everything placed in other hard disks (not root's disk though).
So far, so good.
Is there a possibility to run VLC as root in Gnome? I mean, without compiling the program myself with the option --enable-run-as-root. Is there any immediate method like in KDE?
I run a minecraft server on my debian/gnome desktop and I need access to the files in the root folder and to the mysql folder but i cant log as root. i tried installing sudo and it didnt work. i know the su and su - but I want to change the files manually.
View 1 Replies View RelatedHow to browse as root in GNOME 3?
View 5 Replies View RelatedI installed Debian 5.0.2 about a year ago, my first encounter with Debian and first serious look at Linux. I never got it right. Some software wouldn't work after installing. This week I decided to just start all over. I installed Debian 5.0.5 on a second disk. I seems to be better. Software that failed before works now!
Problem 1:
I ended up with two possible boot up choices in GRUB, but they both run 5.0.5 w/ Gnome. Why two? How do I know which to keep and how do I get rid of the other?
Problem 2:
Previously, I could boot into a command console by interrupting the normal boot. I don't get that chance now. It goes right to Gnome. I can't boot as root in Gnome. How do I get on as root?
We have setup Squeeze a Test machine , just for some tests, without network, Internet etc. and we need to allow root login in Gnome.
We've changed /etc/gdm3/daemon.conf:[security]
AllowRoot=truebut still doesn't work.
Is there any way o enable root login for Gnome in Fedora 14 ?
View 6 Replies View RelatedDoes anyone know how to start up Krusader in root mode when using Gnome? If I run it from the "Krusader Root Mode" icon, it does not ask for the root password and opens up in standard mode. I do not want to run my gnome session in root mode, since firefox will not run in root mode.
View 6 Replies View Related