General :: In Folder Hierarchy / Find Last Updated File
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
ADVERTISEMENT
Jul 2, 2010
Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
View 1 Replies
View Related
Oct 3, 2010
What are the directories and files in Unix file-system that has default user permission set. For eg. home directory of a user can't be seen by the other users on the system without his permission. In the same way what are the other directories that by default has user permission set at the time user account has opened. Eg. /etc,/bin or what
View 3 Replies
View Related
Jul 7, 2011
I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
View 3 Replies
View Related
Feb 9, 2011
I have a mvfs file system mounted.
[code]...
View 1 Replies
View Related
Jun 16, 2010
I dual-boot, and in Windows, I use an awesome program for music maintenance called MediaMonkey, which sadly, isn't Open Source, but still awesome nonetheless. Anyway, one of the things it lets you do is sort and import your libraries by practically any format you could find imaginable. I have that program setup to import and store my music in the following format:
G:Tunes<Genre><Album Artist><Album><Track Number> - <Track Artist> - <Track Title>.<Extension>
Is there a way to change the default setups in whatever music program I choose to use? It seems to be the same no matter what program I use if it's a GNOME-based program. I've used Banshee and Rhythmbox, but both only leave me with the following options:
Folder:
Album Artist/Album/
Album Artist/Album Artist - Album/
Album Artist/Album (Year)
Album
Album Artist
[Code]...
View 1 Replies
View Related
May 18, 2011
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash
for files in /home/user/*
do
[code]....
View 1 Replies
View Related
Jun 11, 2011
I downloaded debian-6.0.1a-i386-netinst.iso. i would like to burn the cd as iso image but i cannot find the iso file in the downloaded folder. i am going to browse the iso file on vmware.
View 6 Replies
View Related
Aug 2, 2011
how to use find command to search for all the file in the particular folder?my script as below
find . -name "*" > $BASE/file
if [ `more file | wc -l` -gt 0 ]; then
echo "dp"
fi
output of my results will always include a . (dot)which I dunwan it include the dot.
View 11 Replies
View Related
May 20, 2011
I am trying ti instal adobe flash but I cannot find the file that the plugin folder is in. I am running open suse 11.4. Mozilla firefox beta 12. =
View 9 Replies
View Related
May 25, 2011
im trying to run minecraft.jar which just freezes up at startup screen, wondering if i made a mistake in java along with that Firefox doesn't have a plugins folder i can find to put java into heres the files it has
application.ini libfreebl3.so libxul.so
blocklist.xml libmozalloc.so Link to firefox
chrome libmozsqlite3.so mozilla-xremote-client
[code]......
View 3 Replies
View Related
Dec 5, 2010
I'm starting bash shell script and I'm looping without any solution.
I'm trying to find some files under a folder hierarchy and in case of errors moving these files to a destination folder under the same hierarchy recreating this hierarchy if not exists.
Finding all ._* files under /src and moving them to /dest recreating folder1 or the others which contains ._* files but without moving files which does not correspond to the pattern.
Code:
I tried find command and I'am getting all needed files
Code:
But I don't know how to use the output to get the parent folder of files which are found to
1- create folder with mkdir -p /dest/folder1 or /dest/folder1/folder4
2- move found files from /src/... to /dest/... with rm command
I'm working on a find command as this trying to do all in the same line but ... little lost
Code:
View 8 Replies
View Related
Mar 13, 2011
I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly what it should be.
View 1 Replies
View Related
May 4, 2010
Can you please tell me how can I tar ball/compress a directory hierarchy with soft links in Linux?
View 2 Replies
View Related
Jun 10, 2010
Back when I was first learning Linux, one of the questions that I kept wondering about was "what are all these files and directories for?" I couldn't find a resource that would explain them in a digestible manner. Specifically, I was looking for one that would allow me to look at a Linux filesystem interactively, collapsing and expanding folders to look at just the ones I was interested in at the moment. So later, when I got the opportunity, I wrote it.
But despite a ton of research, I'm still not totally knowledgeable on the subject. The most important thing I'm looking for right now is for experienced Linux/Unix people to tell me where I got stuff wrong, and for newbies to tell me how useful it is to them and which things need clarification. I'm also interested in technical and graphical ways to improve usability, like better icons, layout, etc. I know I need to be able to collapse long descriptions, but what would you like to see? The Works Cited list and a full introduction are still on the way as of this writing.
Without further ado: Linux Filesystem Hierarchy Explanation. You'll need a fairly recent browser that can handle XSLT; the actual info is stored as XML, and transformed into HTML with an XSLT stylesheet. This is still a work in progress, and I'll be updating it as the thread progresses.
Finally, would people be interested in collaborating with me on this, as an open-source project? I've never done anything like that, and I'm not sure how much time I'll be able to give it in the future, but I really think this should be continued and expanded.
Edit: Works Cited and decent intro are now in place.
View 3 Replies
View Related
Apr 5, 2011
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies
View Related
Jun 1, 2011
want to sync 2 folders, one on a desktop and the other on my server. My objective is to keep the desktop folder always updated with the content of the server folder. If I get this working, I can do the same with the rest of my desktop and laptop users. When online they can run a script with rsync and update data. Is it possible to get 2 way sync?
View 3 Replies
View Related
Jun 20, 2010
Is there a way to refresh the current configuration used by modprobe with an updated modules.conf file at the command line for Red Hat Linux 9.0?
View 1 Replies
View Related
Aug 25, 2010
Where do I find the latest updated ISO of Ubuntu 10-4. I won't to install it on a flash drive to carry with me?
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
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
Aug 3, 2010
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
View 14 Replies
View Related
Jul 30, 2010
How can I check and set who can view or open a given folder or file?
View 1 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
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
Oct 21, 2009
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies
View Related