CentOS 5 :: Strange Files In Folder Structure All Around ( -z )?

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


Ubuntu :: Duplicating Folder Structure And Copying Files

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

Ubuntu :: Folder Structure And Installations

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

Server :: Stop Users Moving Up Folder Structure?

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

Ubuntu :: Samba Shared Data With Fixed Folder Structure

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

General :: Ubuntu - Rename Home Folder Structure To System Language?

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

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 View Related

Ubuntu Networking :: Access To Shared Folder In A Strange Configuration?

Dec 12, 2010

I've a question about a connection to a shared folder on a pc behind an ubuntu 10.04 server. The Ubuntu machine itself is behind a Cisco router. Cisco router has a nat 1-to-1 to Ubuntu machine with the static public ip x.y.x.z The Ubuntu machine has one only interfaces eth0 bridged with a virtual tap0 in the virtual br0 interface. This because on the Ubuntu machine is running OpenVPN in bridged mode. I want to reach a private share on the host using the x.y.w.z static IP. Is that possibile? Ubuntu machine has no firewall running (I was not able to run shorewall firewall for now).

View 1 Replies View Related

CentOS 5 :: Cannot Upload Files To LXAdmin User Public Folder

Apr 30, 2009

I installed lxadmin and now when I try upload files to my lxadmin users public_html folder I get the following message. Cannot write to `backup.zip' (No space left on device). After checking with df -h i noticed / is full.

Quote:[root@box admin]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1.5G 1.5G 0 100% /
/dev/sda8 65G 341M 61G 1% /var
/dev/sda7 745M 17M 690M 3% /var/tmp
/dev/sda6 996M 34M 911M 4% /tmp
/dev/sda5 2.4G 1.1G 1.2G 48% /usr
/dev/sda1 99M 27M 67M 29% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
/dev/sdb1 367G 195M 348G 1% /var1

View 5 Replies View Related

General :: Downloading Files With Same Directory Structure

Apr 8, 2010

How do I download all the files form here: [URL]. I am on freeBSD 7.0 and I tried wget with the -r switch and it gives me URL's only. Maybe this is simply not an ftp site I don't know. How I can download all those files with the same directory structure.

View 5 Replies View Related

CentOS 5 :: Error 16: Inconsistent Filesystem Structure

Aug 13, 2009

Error 16: Inconsistent filesystem structure I was making my first system update yesterday, and had to restart after 6 hours of downloading, while the indication bar was about 60%.

Today, I was booting into Centos 5.1 and GRUB gave me this screen:
root (hd0.0)
Filesystem type is ext2fs, partition type is 0x83
kernel /vmlinuz-2.6 18-53.e15 ro root=/dev/VolGroup00/LogVol00 rhgb quite crash


View 3 Replies View Related

CentOS 5 :: Move System And File Structure To New Box

Feb 7, 2011

I am new to Linux and not sure how to explain what I want to do, but I will give it a try. I have a system running CentOS 5.x on a system the is dying. Is there an easy way to migrate the system over to a brand new system that I recently purchased? I only have / and swap partitions, so nothing fancy; however, I have read that Linux is nothing like Windows when it comes to applications, and I could simply drag and drop files on the new server; however, I suspect that there is more involved than that. I hope I can just move the files over, and the system will boot; however, I am worried about new hardware on the new system. I am looking for recommendations to this issue. I am not sure if I have described it correctly; however, just point anything out that I need to change.

View 5 Replies View Related

Ubuntu :: Rebuild Directory Structure And Recover Files?

Sep 2, 2010

I have a drive with an NTFS partition where all the files were deleted. What I'm looking for is a way to rebuild the directory structure and recover the files. I really, really want the directory structure as the partition contains 460 Gigs of data. Normally I would use the tools here: [URL] but I've never dealt with this much data before. Everything there that I've used creates a pretty messy dump however.

I have used ntfsundelete before but only for a few files at a time. I have no idea what would happen if I tried to run it on a partition of that size. I'm comfortable with data recovery but this amount of data is beyond me. I've run ntfsundelete with no args and from what I can tell of skimming the pages of output all the files are fine. The partition has not been written to.

View 4 Replies View Related

General :: Renaming A Bunch Of Files Using For-structure And The Mv Command?

Feb 3, 2010

Basically I need to rename a bunch of .doc files using the for-structure and the mv command (w/ wildcards) in bash. I guess this would be a bit easier if I'd use the rename command, but since this is a school assignment of sorts I need to use for & mv. The .doc files are named "1filename.doc", "2filename.doc" etc. And I've got to rename them to "aaa_1filename.doc", "aaa_2filename.doc", "aaa_3filename.doc" and so on. Tried to dabble quite a bit with the for and mv commands, basically just got a bunch of errors. Every damn time. For 2 hours. The most common error was "mv: missing destination file operand after ..."

View 6 Replies View Related

General :: Compare Directory Structure Without Matching Data In Files

Jul 22, 2010

What is the best and simplest way to compare two directory structures without actually comparing the data in files. This works fine:
diff -qr dir1 dir2
But it's really slow because it's comparing files too. Is there a switch for diff or another simple cli tool to do this?

View 4 Replies View Related

Software :: Uncompressing A Directory Structure Full Of Individual Gz Files

Jun 2, 2010

I have a file that I am attempting to use to restore a website for a client. The file is a drupal folder structure where all of the files in the folder (3000+) have been individually compressed into 3000+ individual gz files.

I have figured out how to uncompress all the files using WinRAR but it puts all the files into a single directory, i need the original folder structure maintained.

View 2 Replies View Related

General :: Command To Copy Files Older Than <n> Days Keeping Dir Structure?

Jul 6, 2010

I'm trying to truncate a postfix Maildata directory for one of our users. I want to be able to move any files older than <n> days to a new location, but also copying the relevant directory structure. This should be doable in the one comman. I've used find to locate the files, and mv to move them, but I can't figure out how to build the directoryt structure on the fly in the new location.

This is what I have so far:

find /Maildata/editor -mtime +42 -type f -exec mv -v {} /EditorEmailOld/ ; > ~/editor.txt

View 4 Replies View Related

General :: Check Flac Files In A Multi-level Directory Structure?

May 13, 2011

I am trying to check flac files in a multi-level directory structure, and would ideally like to get ordered output with the full path file name.

I could write a multiline script, but was wondering if there were better ways of accomplishing this.

The current command I am using is:

find . -name '*flac' -exec flac -t {} ;

View 12 Replies View Related

CentOS 5 :: Strange Message When Running Yum?

Jun 22, 2009

I recently reinstalled CentOS, and after a ton of updates, I'm just about finished getting things set up again. However, today I've noticed this really interesting message whenever I run yum. Just for demonstration, I'm going to remove gnome-screensaver, since I prefer the Xscreensaver anyway. This is the complete output, with the strange message highlighted;$ sudo yum remove gnome-screensaverLoaded plugins: fastestmirrorSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

--> Running transaction check
---> Package gnome-screensaver.i386 0:2.16.1-8.el5 set to be erased
--> Finished Dependency Resolution


View 2 Replies View Related

CentOS 5 :: Strange Boot After 5.4 To 5.5 Upgrade

May 18, 2010

Upgraded two systems yesterday without problems but now have a strange problem with a third. The upgrade went well I think but the kernel hasn't upgraded. Its installed and grub.conf has it listed as the default but after a reboot ( many times now ) the kernel version is unchanged.

View 13 Replies View Related

OpenSUSE Network :: 11.4: Strange Nfs V4 - Invisible Files?

Mar 11, 2011

Yesterday I installed 11.4. First it did run very nice but now I am facing an odd problem: I am mounting on my new 11.4 box a folder via nfsv4 from an opensuse 11.2 server (updated to kernel

I got some folders where the 11.4 cannot see files which are defenitely present on the server. They are completely invisible to the client! In one particular case I have eg. 108 files in the folder on the server, but the 11.4 box only sees 107. One is missing. It does not show up using ls and I also can't access it blindly using eg. cat. The file does not differ from all the others in that folder regarding permissions/ownership/acls etc. It is also not big (1728 bytes) nor is it a special file (link/socket etc.just a plain C header file). That single file is just not visible when mounting with nfsv4 on the 11.4 box. When mounting it with nfs3 instead the file is visible. But for obvious reasons I want to stick with nfsv4.

I restarted all nfs related daemons on both the server and the client a couple of times but it does not make any difference. I also cannot find any problems in any log files on the server or client up to now. I rebooted the client but not the server (I can't do that right now as it is in heavy production).

I do not see these problems with other opensuse boxes running 11.0/11.2 or 11.3 in my network. They can see/access these files quite nicely. This is really strange. Does any have a clue what is going on here or how I can narrow that problem down?

View 9 Replies View Related

Software :: Among Files There Are Wscript And Other Strange Scripts?

Sep 22, 2010

I downloaded Jack1.9.5 source but I don't know how to build it because the usual commands like ./configure,make don't find anything to do. Among files there are wscript and other strange scripts.

View 3 Replies View Related

CentOS 5 :: Live USB Strange Modified Binaries?

Mar 10, 2011

I have CentOS 5.5 running as a desktop, on Live USB with persistent overlay. It's been working great since January. However yesterday I noticed something strange. Almost all the binary files, including those under /bin, /sbin, /usr/bin, and /usr/sbin, have been modified, compared to the originals in squashfs.img (I mounted squashfs.img and did a "diff -r" comparison). The timestamps all remain the same, but the sizes of the binary files have been increased by a typical 1 - 3 KB.

The system has never been updated, other than a few minor package installations via yum. It's running behind a firewall with no services except an SSH server on a non-standard port. Checks on log files etc. didn't find anything suspicious, and chkrootkit turned up nothing.

View 4 Replies View Related

CentOS 5 :: Strange Empty Directory Found On Server

Mar 17, 2009

I was checking my server and found a /net directory with nothing visible inside. The mysterious directory is /net and I checked to make sure nothing was mounted to it:
[root@mysql /]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

View 3 Replies View Related

Software :: Recoll Indexing Throwing Strange Errors On Some Files

Nov 15, 2010

I have installed Recoll 1.13.01 on my Ubuntu 10.04 box. I selected certain file directory trees to index and when I build the index using the gui it seems to work fine based on my limited testing. So far, so good.I planned to add a step to my nightly cleanup, backup and other housekeeping script to update the Recoll index. The command in question is recollindex While testing the command line indexing I found that an OLD password protected Windows zip file caused it to throw a bunch of errors. It appeared to continue. I located the offending file and as it was already backed up to DVD media and deleted it. I have also found a couple of other offending files which make me wonder about the robustness of this application.

The next case I had a file Session 12a.odt which for some reason was of 0 bytes - don't know why - perhaps I was just starting to write this document and never put anything in it.

View 1 Replies View Related

Ubuntu Security :: Finding Two Strange-looking Files On Windows Shared Folders?

Mar 30, 2011

Recently I've been finding two strange-looking files on my Windows shared folders! Their names are 'khy' and 'qffhtx.exe', they appear as hidden, and they're hard to delete!! especially the first one because it has no extension. I use Ubuntu 10.10, but I am worried because I also dual-boot Windows XP. Today I tried to open the .exe file in nautilus to see what is inside and I received the message "Unable to open archive", 'khy' is apparently an empty text file. Then I unmounted my /home partition so my files are out of the way, and I ran the .exe file using WINE,

Now I have a strange-looking applet on my top panel!! and it says "Script paused", also it says "Exit', and also Wine command prompt says something strange about "LockWindowUpdate", don't imagine it I'll post the screenshots so you can see it for yourselves. Also --and this is weird-- the virus apparently is trying to call a Windows process named csrcs.exe!! Again, I'll post the screenshots.

If this is a virus, then it's like a fish out of the water on my Ubuntu, it's probably trying to do something but it can't find its way around, it's kinda funny, but Im worried because I also dual-boot Windows XP, I'm having a hard time trying to remember the name KHY, it's a very weird acronym, it's the acronym of a disease, according to what I googled, i'm sure it's a virus!!! Anyway it's HARD to remember!!!

what can I do about this? How can I see the "script"? can Ubuntu kick its ***?how can I clean my Windows?

View 9 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

Ubuntu :: Best And Full Feature Editor - Open All Files In A Folder When Drag And Drop The Folder On It

Jun 21, 2011

when i used windows there was this wonderful editor named Notepad++.it was perfect(it still is) some of its best and useful features of it (for me) was:

1-open all files in a folder when drag and drop the folder on it
2-search and replace a statement in all open files
3-have an extended mode which include special characters like

and so on.. i want to know if there is an editor with this feature in ubuntu?

View 8 Replies View Related

Ubuntu :: Copy Files From Original Folder To $user Folder?

Oct 22, 2010

i want make a bash panel and i want he will copy files from orginal folder to $user folder i mean when for explame i type i want install some server he say cp: cannot stat 'root/Desktop/2/files/beckup/sa-mp-steam': No such file or directory.

View 6 Replies View Related

General :: Copying All .jpg Or .JPG Files From A Folder And All Its Subfolders To /usr/name/pictures Folder?

Sep 10, 2009

How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.

View 14 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved