Ubuntu :: Nautilus Action To Find Files In Directories

Aug 27, 2010

When I am in Nautilus, I want to be able to select a directory, then right click (or some other action) to do a file find on that directory. The gnome-search-tool would be a good candidate for this, if it could be an action in Nautilus. I know I can do a file find through other means, but Nautilus seems to be where I am when I want to search directories.

View 6 Replies


ADVERTISEMENT

Ubuntu :: How To Change A Nautilus Icon (an Nautilus Action)

May 16, 2010

I've added a new Nautilus action and I'd like to use another icon that those provided in the nautilus item con list (see attachment).

But whatever image I try (some PNG or even SVG files) I can't get them to be displayed. It seems there is a very special format, size, type to match the Gnome/GTK+/Nautilus icon requirements...

View 3 Replies View Related

Ubuntu :: Find Files With Directories And Sort By Mod Time?

Dec 4, 2010

what i wanted to do was find all the files with a specific name from a tree, sort them by modification time and have their directory appended to them so that i knew where they were (because they all have the same name). i tried a whole bunch of different things and finally did this:

Code:
find . -type f -name world.sav -exec ls -l '{}' ; > ~/dfsaves.txt; gawk '{$1=""; $2=""; $3=""; $4=""; $5=""; print}' ~/dfsaves.txt | sort -n > ~/dfsavessorted.txt

this did the trick pretty well, but as you can see it is far from elegant and i think i'm doing some things wrong and kludgy

first thing i tried was "ls -lRt | grep world.sav" which worked except i couldnt distinguish the files because there were no directories. that took a lot of looking till i accepted i couldnt make ls print directories as well and append them to the files somehow that their relationship would be clear. i tried piping ls to find, doing it in reverse, passing them from grep etc. etc. until i read some more stuff online that got me using gawk and sort. the questions:

1. is there some other, more elegant and simple way to do this kind of detection and sorting?

2. is there any way to use a pipe after using exec? the semicolon seems to prevent this entirely, forcing me to use an intermediate file as above. i could just remove it later, but i'd prefer a straight piping.

View 8 Replies View Related

Ubuntu :: Nautilus Action Configuration Not Running ?

Mar 30, 2010

I recently installed nautilus-actions for adding things to the right click menu this shows the Nautilus Actions Configuration in system->preferences but when i click it nothing happens.

I then try to run it from the terminal by running the "nautilus-actions-config-tool " command it returns

Code:

View 1 Replies View Related

Ubuntu :: 10.04 - Nautilus Will Not Remember Default Action

May 28, 2010

I did a fresh install of 10.04 a couple of weeks ago, and all seemed well, but lately when I double-click on, say, an OpenOffice (.odt) file in Nautilus, I get the following message:The file '/home/zerubbabel/Documents/Teachings/Queue/2010.05.15-A02.odt' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit.(The pop-up window title reads: "Blocked: wine start /unix"). I've repeatedly set the "Open with..." and checked "Remember this application...", but it doesn't "stick".

View 5 Replies View Related

General :: How To Use Find To Copy All Found Files To A New Name In Their Same Directories

Feb 23, 2010

I've got a simple command that does almost what I want.

The following will locate all files with a suffix of '_compressed.swf' and copy each into its same directory with a '.bak2' appended:

However, I need to replace '_compressed.swf' with '_content.swf' I'd like to use find, rather than recursive flag on cp for consistency.

Objective
In: /content/somefile_compressed.swf
Out: /content/somefile_content.swf

View 3 Replies View Related

General :: Script To Find New Files And Copy Them Into Different Directories?

Oct 29, 2010

I have a question which has been in part answered many times but nothing I found relateds completely to my situation. I am sure there will be people who will say RTFM but believe me I did, and searched as well but to no avail. I have a situation where I want to copy files created withing last hour in one directory into another one. The problem is that that the directories are on different levels in the dir tree so the absolute path is different. But I want to keep the relative path the same.

I want to copy new files from /mnt/path_to_webdav/user to /home/user. so if there is new file /mnt/path_to_webdav/user/doc/xy.txt I want it to be copied to /home/user/doc/xy.txt. Also if there is a new dir, say /mnt/path_to_webdav/user/newdir I want a new dir to be created in /home/user/newdir with all the files in it, should there be any. I can do find with exec and copy all the files into one directory.This is not what I want though. How do I preserve the relative path and get the files copied into their corresponding directories?

View 1 Replies View Related

Ubuntu Installation :: 10.04 Nautilus Freeze While SHIFT+DELETE Action?

Jan 7, 2011

I use Ubuntu 10.04 (64bit) version, after I update system yesterday from 2.6.32-27-generic, suddenly my Nautilus freeze everytime I want to permanently delete files (SHIFT+DELETE).

Remove file to Trash will run OK, but when I empty trash, Nautilus will be freeze and I need to "Force Quit" it.

View 9 Replies View Related

Ubuntu :: Compiz Proces Hangs On Any File Action In Nautilus?

Jun 12, 2011

When I try to to do something like creating a new folder in nautilus the screen freezes. i'm still able to move my mouse but clicking has no effect. it also happens when renaming a file or deleting a file or folder. I can access the commandline when the screen is frozen and i found out that the compiz process was taking 100% of my cpu, after killing the process the system works fine again. I also noticed that the file action wich coused the freeze was done, so i try to create a folder the system freezes i stop the compiz process and the folder is there. The problem doesn't occour When is start the session using ubuntu classic with no effects. I tried reistalling compiz and the video driver but whitout any luck. I would really appreciate it if someone has a solution for this because its very frustrating.

Specs:
Ubuntu 11.04 64bit (clean install)
HP Touchsmart TX2
AMD Turion X2 Ultra Dual-Core Mobile Processor ZM-86 (2.4 GHz)
ATI Radeon HD 3200 Graphics with 64MB Display Cache Memory
4GB DDR2 System Memory (2 Dimm)

View 5 Replies View Related

General :: Make All Files Non-executable Recursively Using Find Without Affecting Directories?

Sep 26, 2010

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process

find /dir/ -type f -exec chmod ugo-x {} ;
find /dir/ -type d -exec chmod ugo+rx {} ;

Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.

View 1 Replies View Related

General :: Back Up Scrip - Find / Cp / Md5sum / Rm - Move All Files And Directories

Oct 22, 2010

I want to move all files and directories that are 1 month old out to back up into a separate folder. There will be a lot of files and I want to make sure it copies properly. The problem I'm having is integrating a MD5SUM into it to check integrity. MD5SUM is not recursive, so I figured it would work in a loop when it copies each individual file, I'll do a md5sum on each file and delete that md5 once its verified it copied ok.

[Code]...

I also need some sort of error handling to output all md5's that didnt pass the hash check.

View 3 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

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 Related

Ubuntu :: Can't See Ext HDD Directories In Nautilus But Can In Terminal

Jan 9, 2010

I'm using an external USB Iomega Rev 70GB HDD. (Have been for a few years). It uses UDF format for higher transfer speeds of large files. (This is not an option, & not changeable), therefore natively recognised since 2.6.20, I think. (But no official Linux support).

Occasionally though, I run into problems such as can't format a disk in Linux, need to boot to Wins to do it. Also like today: So I have a bunch of comic pdfs & cbrs on it, mix of .rar files & folders. They were there yesterday. Today I went to read something and I couldn't see them. Thought maybe I'd deleted it by accident, but no. Looked at the drive in terminal and I can see the "missing" files and folders fine, but can't see them in Nautilus to open in Comix.

-Tried setting all permissions on the whole drive to R/W/E through Nautilus.

-Files & Folders aren't hidden.

-Tried rebooting.

-Tried using Administrator Nautilus.

-Thought it might be a re-emergence of the recent Nautilus Preview bug, so swiched File Preview off.

View 7 Replies View Related

General :: How To Store Files / Directories In Different Different Directories?

Mar 23, 2011

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 !!

View 7 Replies View Related

CentOS 5 :: Nautilus Stops Responding With 100% CPU Use In Some Directories?

Jan 9, 2010

I was wondering if anyone else has noticed the following behavior lately. Sometimes, when I enter a directory, during the generation of thumbnails nautilus freezes up with 100% cpu use. It has to be killed. It will then happen whenever I try to enter that specific directory with nautilus (although access with Konqueror or command-line is fine). Turning off the previews allows nautilus to enter that directory (usually... once even that didn't work). If I create a new directory and move all the files from the troublesome directory into the new directory, I can enter the new directory with nautilus and it works fine, even with thumbnails turned on. I can even rename that directory to the same name as the problematic one had and it will work. Long ago this behavior used to happen very rarely, then it seemed to be fixed, and now it is happening again but fairly frequently.

I was just wondering if anyone else has experienced this and, if so, do they know what is causing it? A simple solution is to turn off thumbnails but I'd prefer another solution.

View 2 Replies View Related

General :: Find A File In Directories Without Using Find Command?

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

Debian :: Make Nautilus Show Directories In Text Form?

Jun 1, 2010

When I try to view my home folder (for instance), I press the icon on the left of my name (/home/...) and it doesn't do what I accustomed to which is to show the text form of the directory. Is this a bug or am I missing something?

View 8 Replies View Related

General :: Error - The Action Could Not Be Completed Because The Name Org.freedesktop.packagekit Was Not Provided By Any .service Files

Feb 17, 2010

i recently install openoffice in fedora 12 and error occured the error is : the action could not be completed because the name org.freedesktop.packagekit was not provided by any .service files. what is link to download latest openoffice for my fedora 12,?my laptop model is asus k50in.

View 1 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

How can you create a script to move or copy files from a main directory into multiple directories below the main directory.

View 7 Replies View Related

Programming :: Sort Files In Directories Based On Files Date

Sep 8, 2009

I need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'

View 5 Replies View Related

Ubuntu :: Where To Find Ssh-mounted Directories

Dec 26, 2010

I go to places-acces server-ssh and connect to a remote server with Nautilus.All ok.But I prefer to use vifm as my main file manager: I try to find the ssh-mounted devices in /mnt or /media but cannot fin them.Does anybody know where they are?

View 2 Replies View Related

Ubuntu :: Viewing Hidden Directories With Nautilus And Using "cd" In Terminal Missing Trash Directory

Jul 7, 2011

The directories
/home/<user_name>/.Trash
and
/root/.Trash
do not exist.

I've tried viewing hidden directories with nautilus and using "cd" in terminal. "locate" is equally useless.

View 4 Replies View Related

General :: Recursively Cp All Directories, Files And Hidden Files?

May 17, 2010

Ubuntu 10.04

I want to copy all directories, files, and hidden files and hidden directories with one command. I want these items to replace any same items in the target directory.

I have tried several things, such as:

cp -r *
cp -aR *

but I only seem to get visible files and directories. Obviously, I am missing something. (A brain, probably....)

View 9 Replies View Related

Ubuntu :: Firefox Default Action For MS Office 2003 Files With Wine And MS Office 2007?

Aug 7, 2010

I've ran into something rather odd. I've installed wine and Office 2007. If I am to open a office 2003 (doc) or office 2007 (docx) file, it will open wine and office 2007 to edit the file. This is the desired behaviour. If I am to open an office 2003 (doc) file in firefox, openoffice will be opened. If I am to do the same with an office 2007 (docx) file, wine and office 2007 will open.where to start to get wine/office 2007 to open files from firefox?

View 3 Replies View Related

General :: Excluding Directories With Find?

Jun 10, 2011

I am trying to exclude 2 directories with find and pass it into cpio. I have tried

Code:
find . -depth -path '.evolution' -prune -o -path '.gconf' -prune -o -print|cpio -aov > /media/caca/full$date
./.gconf/apps/evolution/memos/%gconf.xml
./.gconf/apps/evolution/memos

[Code]....

View 4 Replies View Related

Programming :: How To Find Directories That Do Not Have A Certain File

May 28, 2010

I'm having problems figuring out the process to find directories that DO NOT contain a certain file. I have a mp3 collection that all the album art is name "folder.jpg". Not all the albums have images. I need a way to find the albums/directories that do not contain "folder.jpg". I can find the ones that do contain "folder.jpg" with

Code:
find . -iname 'folder.jpg' -print0 | xargs -0 ls >> album_art

but that is as far as my bash-fu can take me. I'm not really sure what my next step is.

My directory structure is like such: a-z/artist/album/folder.jpg

View 5 Replies View Related

Ubuntu :: Creation Date For Directories Isn't Stored Or At Least Couldn't Find It?

Feb 19, 2010

i'm trying to make a script that gives one output if a directory in /home is older than one month, and another if the directory is less than one month old. I looked around and saw that the creation date for directories isn't stored, or at least i couldn't find it? How is this possible to do then?

View 2 Replies View Related

General :: How To Exclude Multiple Directories In Awk With Find?

May 20, 2010

I found a script on webmaster world that mostly does what I need it to, but have been making modifications to tailor it to my specific needs.I know that //..*/ tells awk to ignore hidden directories, how do I define more directories to ignore? (i.e. temp, var, etc)? I've tried playing with prune before the awk command with limited success...I know that there are many ways to do the same thing and keep running into brick walls.

View 11 Replies View Related

General :: Scripting To Find Difference Between 2 Directories

Dec 17, 2010

Write a script to list all the differences between two directories.

View 1 Replies View Related

Software :: Using Find To Only Search Specific Directories?

Jan 9, 2010

how the "-prune" option works. I've searched quite a bit on line, and as far as I can tell, "-prune" works exactly the opposite as it says.

I'm using Apt-proxy, and I want to scan through the folders, and find files that end with "*.bz2" The problem is that the search takes a while because of all the "*.deb" files. Fortunately, they're stored in their own folder:

/var/cache/apt-proxy/ubuntu
/var/cache/apt-proxy/ubuntu-security
/var/cache/apt-proxy/partner
each have two folders:

[Code]....

View 5 Replies View Related







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