Ubuntu :: Find Execdir Convert -resize "find: Missing Argument To `-execdir'"
Feb 2, 2010
i'm trying to resize my album art that is dispersed through various artist/album folders. They are mostly 200x200, but i want to make all of them the same size. The code i'm trying to use is,
Code:
find -iname "cover.jpg" -execdir convert -resize 200x200 {}
or
Code:
find -iname "cover.jpg" -execdir convert {} -resize 200x200
i'm getting the error,
Code:
find: missing argument to `-execdir'
on both whats wrong with my syntax.
View 2 Replies
ADVERTISEMENT
May 12, 2011
I want to search in many many files for a string.
I used find /archive/* -print0 | xargs -0 grep 'robert' -sl
Is there a simple method to do it ?
View 2 Replies
View Related
Feb 15, 2011
well i have just started with shell scripting...how to find all child processes of a parent process given to script as argument.
View 10 Replies
View Related
Mar 12, 2011
I have a bunch of .caf files in a directory that I want to convert to ogg but I cannot figure out way to do it (except manually). I want to do: sox filename.caf filename.ogg
[Code]...
View 2 Replies
View Related
Sep 4, 2010
I wanted to install Ubuntu One last night, or start using it if it was already installed but I can't find it. It's missing from the me menu, as well as sys>pref / admin > Ubuntu One. I tried running ubuntuone-client, but nothing happened, but that package is installed in synaptic.
View 2 Replies
View Related
Feb 16, 2011
A client has sent me a docx. Actually it's not the first he's sent and it always causes me some kind of problems. When I open the document (a normal boring 3 page text document) with Open Office some of the characters are replaced with little empty boxes. From context I suspect they are things like slashes and commas - but I don't know for sure.
I copy and pasted some into gedit and there they appeared as boxes with letters and numbers inside like FF04. Is there some way to find out what these symbols are? I don't need to see them or print them, I just need to know if it is a plus sign, back slash, u with umlauts, or whatever.
View 3 Replies
View Related
Jan 19, 2010
I have the latest packages for kmymoney and kmm_ofximport installed on my system, but the 'file->import->ofx' menu item is not showing up as the kMyMoney manual leads me to believe it should. I do have the menu to 'map to online account' when right clicking an account, but it is not enabled for some reason. The plugin (KMyMoney OFX) is in the plugins list under the configure menu, so I'm kind of stumped.
View 4 Replies
View Related
Oct 19, 2010
Need to make sure a security line is added in to every webpage on a site, trying to find out how to list only the filenames of the pages that are missing the text. awk or grep? o what I want is to list all files NOT containing the word 'securemasthead'
View 2 Replies
View Related
Feb 23, 2010
everyone I just upgraded to windows 7 and I dual boot ubuntu 9.10 64 bit, when I installed windows I lost my boot menu,
View 1 Replies
View Related
Mar 18, 2010
I've been having some problems with updating recently. Whether I update using Synaptic, or apt-get, it hangs at the end, and gives various messages as at the bottom of the below apt-get update:
Ign cdrom://[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53] lenny Release.gpg
Ign cdrom://[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 CD Binary-1 20100131-18:53]
[code]...
View 1 Replies
View Related
Sep 7, 2010
I have 4 Linux machines with cluster.My target is to find all kind of IP address (xxx.xxx.xxx.xxx) in every file in the linux system remark: need to scan each file in the linux system and verify if the file include IP address if yes need to print the IP as the following
more /etc/inet/file.example1
182.23.2.4
255.255.0.0
10.10.1.1
View 1 Replies
View Related
Sep 11, 2009
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;
View 10 Replies
View Related
Jul 15, 2011
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
View 2 Replies
View Related
Aug 21, 2011
I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?
View 2 Replies
View Related
Feb 28, 2011
I have used diff command in past.I faced a situation to which I did not had a cluehere are some text strings (which can be stored in a file)Quote:
CONFIG_XEN=y
CONFIG_XEN_PVHVM=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
[code]...
View 3 Replies
View Related
Jan 25, 2009
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
View 1 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
Aug 9, 2011
The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing
View 4 Replies
View Related
Feb 1, 2010
Objective: To move or backup all the 30 days old files to the other server within LAN. I have tried testing it first within the server by performing below commands:
find /usr/test1/* -mtime +30 -exec mv {} /usr/test2/ ;
But I'm getting "mv: missing file argument" error when I try this.
View 1 Replies
View Related
Jan 2, 2010
I'm looking for a graphics editor which will convert/resize the aspect ratio of the anamorphic images I create in-camera to their appropriate size. I'm shooting my images on film and digital. My digital camera is a Sony H50 with native 4:3 format. I'm also shooting with a Hasselblad EL/M with the standard 6x6 format.
Using my 2x anamorphic head on either camera will produce the following results: Sony H50: 4:3 > 2.66:1 (8:3) Hasselblad EL/M: 6x6 > 12x6. We're easily talking about 48"x24" or 60"x30" prints here folks! So I need to know which programs in Linux will give me the results I'm looking for.
View 11 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
Aug 24, 2011
i need to scan all files on a dns server (bind 9, lenny) to find a string (192.168) i been suggested to use find with grep i filter out the things i dont need like logs here's the command
find /* -name "slot*" -prune -o -name "var" -prune -o -name "proc" -prune -o -name "log" -prune -o -name "*logs*" -prune -o -name "*history*" -prune -o -type f -print | xargs grep -n '192.168' 2>/dev/null
it show me results with various depth in the directories but it fail to show the occurrence that are in /etc/bind/zones/ if i run the exact same command but with the path being /etc/bind/* the missing occurrence are shown what did i do wrong ?
View 4 Replies
View Related
Aug 5, 2010
avidemux is missing mplayer resize plugin. How do I get it?
View 1 Replies
View Related
Jul 30, 2010
Is there any way to find the core files with out using the FIND command?
View 1 Replies
View Related
Apr 20, 2011
I have a netbook that has a dead windows partition. I've installed ubuntu and have never tried to recover the dead windows installation. However, I now need that space in the main partition. I ran the liveUSB of ubuntu and ran gparted. I have an error on that partition.
Accounting clusters...
cluster accounting failed at 66892 (0x1054c): Missing cluster in $bitmap
Cluster accounting failed at 489569 (0x77861): extra cluster in...
I think I may have attempted to resize this and I got this error. I cannot get into windows to fix anything, so I can't run scan disk or fix disk etc. I'm not sure if I can get a command prompt. I don't have a CD drive. Can I reinstall linux and use the entire hard drive? Will it do this, or will the cluster errors prevent this? Can I fix this so to resize the windows partition?
View 2 Replies
View Related
Feb 23, 2010
I'm trying to write a base script which will divide an argument by 10 and then use that argument in another program. Since my argument can be a floating point number, I used bc to accomplish this. Here's an example of a simplified version of what I have so far:
<code>NUM=$(echo "scale=25;$1/10" | bc)
#make sure the first argument was formatted correctly
if [ $? -ne 0 ]
[code]...
View 4 Replies
View Related
Jul 22, 2011
I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?
View 5 Replies
View Related
Dec 10, 2010
I tried to convert an AVI-video to a MP4-video for my ipod. Therefore I used ffmpeg as I can read in the FAQ
Code:
ffmpeg -i in.avi -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +mv4 -trellis 2 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X out.mp4
The problem is, that the given encoder libfaac is not installed and I can't get it through the pack-adminstration
[Code]....
View 3 Replies
View Related
May 2, 2010
How do i find my internets WEP KEY?
View 9 Replies
View Related
Feb 28, 2011
I'm still learning ubuntu and I'm trying to install windows7 in either vm player or virtualbox. I've downloaded the .iso(took 2hrs) and now I'm not sure how to find it in ubuntu to either burn to c.d. or use virtually. Ubuntu used "Archive manager" as default for downloading. I'm not sure if this was correct to use,as I was thinking ubuntu is alot smarter than I. Where do I go to find the downloaded files?(and yes it's legal). I also downloaded the binary file of vmware, and again not sure what to do. I looked for windows files in <search< files, then alot of files came up, but I'm not sure what I'm looking at.
View 9 Replies
View Related