General :: Find Unique Extensions Or Formats In Deep Folder Structure
Jul 11, 2011
I have a deep folder structure on my RHEL 5.x file system which is supposed to have only word(*.doc, *.docx) or pdf(*.pdf) files. But I want to check if there are files with any other extensions which exist. Is that possible?
View 2 Replies
ADVERTISEMENT
Aug 28, 2010
Just bought a netbook, ASUS Eee PC 1001PX, and got rid of the crappy XP pre-installed. first i put netbook remix on it, and tried many downloads and ndiswrapper to fix the wireless problem. then i went ahead and put another form of ubuntu on it thinking it might have the right drivers need to use the built-in wireless card, nothing. i dl all updates and bug fixes. i went to atheros to download the only driver they have for linux in the AR8132 class but still not helping. although i am not sure if i even installed. once dl it only extracted itself. i couldnt figure out how to run. if someone has this type of netbook it would be awesome. everything works on it except wireless and headphone jack. i know its just cosmetics but it would be nice if all hardware worked.
View 1 Replies
View Related
Oct 14, 2010
I have installed the Ubuntu distro first in Portuguese. Then, I decided I wanted the English language. I would like that the default folders like "Desktop" and "Documents" were renamed to this names, instead of staying in their Portuguese equivalent.
I can not guarantee this, but I am almost certain I did successfully convert the folder names from Portuguese to English on a previous install when I decided to change the language. So, I suppose this is possible.
View 1 Replies
View Related
Nov 17, 2010
I used Unison to sync my desktop and laptop. Now I am getting the following error when I open my Evolution Inbox (and a few of my other mailbox folders).
"Error while Opening folder mbox:/home/myname/.evolution/mail/local#Archive/foldername"
"column folder_name is not unique"
I have tried moving the .evolution/local/mail folder opening Evolution, closing and then moving back - no joy. It is also definitely not a folder size problem, my mailbox is less than 1GB.
Opening Evolution from the terminal I get;
** (evolution:7529): DEBUG: mailto URL command: evolution %s
** (evolution:7529): DEBUG: mailto URL program: evolution
[code]....
I tried using the advice in this thread (the only one I can find with a similar error):
[URL]
cd ~/.evolution/mail ; for i in `find . -name folders.db`; do echo "Rebuilding Table $i"; sqlite3 $i "pragma integrity_check;"; done However, I still get the problem. I'll paste the print out below as it is rather long.
View 2 Replies
View Related
Dec 20, 2010
Just installed Ubuntu on a Dell M1730 and working my way around the system. Biggest problem I'm struggling with is the folder structure and privileges. I've downloaded a few programs that don't come in DEB format. Consequently I'm not sure how they should be installed. As a windows user my assumption is that there would be a program files like folder but I'm not sure what the Ubuntu equivalent is. I've tried /opt/ but then I run into lots of privilege issues that can only be resolved by chmod. Can you advise which the location that programs should be installed in for manual installations and under which user (Standard or SU)?
View 2 Replies
View Related
Feb 10, 2011
I am currently seeing strange files in the folder structure on one of my servers * CentOS release 5.5inal)* #1 SMP Tue Jan 4 17:11:58 EET 2011 x86_64 x86_64 x86_64 GNU/LinuxThe files in question are as follows : -rw-r--r-- 1 root root 117 Feb 3 16:57 -z present in too much random directories when i list a file structure even in a directory i have not been in there is such a file in it.Has anyone ever encountered this type of factor and if possible i would like some advice on dealing with the removal of these files and rectifying the settings that are making them / creating them.
View 2 Replies
View Related
Nov 21, 2010
I'm looking for some way to search a given directory, copy its folder structure to another given directory, and copy from the original only certain files into the newly created directory.Vague, I'm sure. But here's what I'm actually looking for:My music player won't display album art without a "cover.jpg" image in each folder where the files are, but I have Rhythmbox set to only copy the top rated songs. Each file does have its cover embedded in it, but there's also a cover.jpg in each folder.
So I'd like to let Rhythmbox handle the actual song copying, and then have a script or something that I can run that will scan my onboard music directory for cover.jpg files and then place them in the appropriate folders within my music player's folders. Obviously I can't just copy my onboard music directory, or I'm getting *every* song, not just the top-rated, which defeats the purpose of syncing at all.
View 2 Replies
View Related
May 12, 2011
I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.
However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.
View 6 Replies
View Related
Dec 4, 2010
We want to fix our data folders structre in Samba, for example our folders would be like as Data/Group A/2010 /A.We want all our users can work only in folder A and no one can create any files in data, GroupA, 2010 folders. Similarly no one can delete these basic folders. However users can create further folders in A as required.
View 1 Replies
View Related
Mar 2, 2011
I am doing a migration and where i face problem with few file formats . I have the list of acceptable file formats , now i need to find the rest of the file formats other than the acceptable file formats. is there any tool available for this ? or can some give me the VBA macro .. My VBA macro works to find the file extension in a particular folder but the problem is its ending when the count increases to 65000 (excel limit). How do i use If condition here to avoid the acceptable format and give me unique file formats .
[Code]....
View 1 Replies
View Related
May 26, 2010
I'm trying to find all the files in a specified directory that do NOT end in .archived or .error and are older than 30 mins. Currently I have: Code: find /opt/edi/incoming -type f ! ( -name "*.archived" -name "*.error" ) -cmin 30 But I keep returning files that end in those extensions and I'm not sure if I'm using -cmin correcty? If there is a better way to do this (perl, etc) I'm open to options, this is for a nagios check.
View 2 Replies
View Related
Dec 28, 2010
I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?
View 3 Replies
View Related
Sep 30, 2010
This little fragment does the opposite of what I want and I am trying to figure out how to reverse it. I want to strip off the directory and echo just the filenames. I cannot predict how many levels deep the directory tree is.
View 6 Replies
View Related
Jan 19, 2011
I want to make licencing software. For that first i am retrieving hdd serial no, nic mac address. But the prob is, what if someone changes/replicates its hdd serial no or mac address ? Many softwares are available to do so, in market. How can I find some unique identifiable string for a machine that user can not change?
View 3 Replies
View Related
Jun 29, 2010
I have searched all over. I cannot find any info on the description of the Fedora mirror release directory structure and the reason for having a "Fedora" and "Everything" directory? Yes I looked at [URL] I mostly work with the Red Hat 5.x. The Fedora release software is kept on a mirror and the DVD release as, (using i386 release):
[Code]....
View 3 Replies
View Related
Feb 18, 2011
How do I find the folder where my eclipse was being installed in linux?I can run it via console, but I dont find the folder.
View 3 Replies
View Related
Nov 9, 2010
I'm trying to install some drivers so my wireless connection will work and Ive got the genereal gist of how to do it, however Im stuck on a fairly trivial step...I cannot find the Hardware drivers folder! Everywhere tells me to look system>Administration>Hardware Drivers...but its not there.(I'm running 10.10 on a HP mini 1001)
View 8 Replies
View Related
Jun 1, 2011
Used following command to find out the top 10 big files in the system But it is having its own limitations as it consider files and directories both.
Code:
I would like to get the following information.
1)top 10 big files.
2)top 10 big directories.
File size with human readable output.
As executing
Code:
But when i add -h option for human readable file size its giving me wrong output.
Code:
View 10 Replies
View Related
Feb 5, 2011
I am looking for c/c++ code (no third party lib dependency) to get the physical address of ethernet card on mother board.Most of them suggests to use the linux commands and process the output. For example "/sbin/ifconfig eth0".The problem with above command is that when you run this on a linux variant which is running using VirtualBox on windows host, it's not returning the correct mac address. In this case the correct mac address is the one set for individual virtual machine."/sbin/ifconfig eth0" works fine when linux variant is installed normally.There is another case when linux variant is installed normally and if you install virtualization apps such as VirtualBox or VmPlayer, they create a virtual adepter for their own use. In that case running "/sbin/ifconfig" returns all the adepters. (physical and virtual)
View 1 Replies
View Related
Jan 21, 2011
I am trying to find a directory named 480debugerror nested under child directories. I don't know the exact path, or even if I have the exact spelling of the directory I ant to find.
Is there any linux command to find directories with a given prefix or suffix, for example directories with a name of debug or debugerror, with unknown some prefix or suffix?
View 3 Replies
View Related
Oct 13, 2010
Recently I did a System Mechanics clean-up of invalid and other misc files. The files were moved to the recycle bin, but I couldn't open a file individually while it was in the recyle bin in order to double check whether or not I wanted to perminently delete it. I then selected all items and moved them to a single folder hoping to open it later to review the individual files.I don't know the folder name or what part of the computer this folder was moved to. Is there a way I can find this new folder, name unknown, that was created on 10-12-10? I'm sure it's taking up valuable space in my computer and I want to permently delete the unwanted items individually and not as a whole batch.
View 1 Replies
View Related
Jan 21, 2010
right now i'm doing a find . -type d -iname "z*" to find all folders who's name starts with z or Z.
Is there a way I could with one command find all folders who's name starts with the letters M through Z, without having to do the same command over and over and just changing the letter each time?
View 15 Replies
View Related
Jun 2, 2011
I have a folder hierarchy with many sub-folder levels under a set of parent folders. Based on the application design and business use, files are written to different locations on a daily basis. I want to find out the last updated file in the folder structure and its location at any given time. How can I do that?
View 2 Replies
View Related
Apr 15, 2010
I've a lot of websites (100+ directories) I want to create a unique zip with only public subdirectory.
My structure now is like:
- Site 1
--- app
--- tmp
--- log
--- public
[Code]...
View 4 Replies
View Related
Feb 23, 2011
Quote:File1:
Hi, My name is John smith
Quote:
File2:
Hi, My name is smith
I want to show only the different or unique word between the two files (John)i was trying to get it with diff, comm, sort, uniq, grep, awk, sed
View 5 Replies
View Related
Feb 21, 2010
In linux, I can grep a string from a file using grep mySearchString myFile.txt.
How can I only get the result which are unique?
View 1 Replies
View Related
Mar 16, 2011
I am trying to create users accounts reading from a file. I can get it to show if the user already exists but I want it to instead of not creating the user account to create e.g. Scott1 etc.The code i have so far is :
#!/bin/bash
while read line
do
[code]...
View 4 Replies
View Related
Feb 5, 2010
when we do enter on a folder it take some time for loading the folder depending on the no of entries in the folder . If the folder has more entries it take more time to load and if less no of entries then correspondingly less time . the delay in loading the folder varies due to reading of the folder entries in advance . SO what i want to know is that what is the MAX no of entries read in advance while opening a folder in linux and also how can we calculate this
View 4 Replies
View Related
Jan 20, 2011
I am doing molecular dynamics where I have to edit files. I have looked at tutorials for grep and sed but can't find my solution. The files produced in my simulations look something like this:
ATOM 1825 NE2 GLN 112 113.646 27.895 14.456
ATOM 1826 HE21 GLN 112 114.020 26.957 14.490
ATOM 1827 HE22 GLN 112 112.649 28.039 14.388
[code]...
View 5 Replies
View Related
Jan 26, 2011
I'm thinking about sticking my DVDs and audio CDs onto my computer. I will need to convert/transcode them into smaller file formats but I'm confused about all the available containers/codecs/formats etc.What types are "free"? Just Ogg or are there others? I'd prefer to use something that isn't proprietary.What are your recommendations for audio and video files?
View 6 Replies
View Related