Spotlight automator script for dupes?
i suppose what i'm looking for is a script for spotlight that will identify duplicates on my hard drive with the exact same name and either delete them for me, or give me an easier way to delete them myself (besides weeding through each mp3 and deleting whatever comes up twice). i posted earlier about how when i migrated to my new computer last summer i inadvertantly made two copies of all my mp3s and i'd like to delete the duplicates.
any info would be greatly appreciated.
best,
doug
Hi there,
I would have a look at this it may help.
http://www.apple.com/downloads/macosx/systemdiskutilities/tidyup.html
Regards
Ric
Similar Messages
-
Hi all,
Is there a way to have the ipad execute a series of tasks at startup? (like an automator-script)
Thank you!Hi all,
For all you who have been looking for a solution for the problem above, here it is :
http://www.kioskproapp.com/
The Kiosk Pro app allows you to run any html-scrip locally stored on the ipad!
Which is great! Because not only does it allow for an infinite amount of possibilities next to the video-looping, it also keeps on working with one click after a reboot!
The learning curve of usage is quite simple for the problem above, since they provide extensive information on the website and have great customer service.
I am very very happy I found this app, and I really hope this post saves a lot of people the headaches I've suffered in the course of finding the solution.
Enjoy!
Alex -
Automated script for setting authorization limit in GL
Hi,
I am trying to create an automated script in our General Ledger application to set authorization limit. I have looked into code of form GLXSTEAL.fmb. There I found that, GL_AUTHORIZATION_LIMITS_PKG is being used for setting authorizations limit.
Below is the code I am trying to run from PL/SQL developer using apps id:
declare
l_Rowid varchar2(30);
l_Set_Of_Books_Id apps.GL_AUTHORIZATION_LIMITS.SET_OF_BOOKS_ID%TYPE;
l_Employee_Id apps.GL_HR_EMPLOYEES_CURRENT_V.EMPLOYEE_ID%TYPE;
l_Authorization_Limit apps.GL_AUTHORIZATION_LIMITS.AUTHORIZATION_LIMIT%TYPE;
l_user_id number := FND_GLOBAL.USER_ID;
l_login number :=FND_GLOBAL.login_id;
p_Attribute1 apps.GL_AUTHORIZATION_LIMITS.Attribute1%TYPE;
p_Attribute2 apps.GL_AUTHORIZATION_LIMITS.Attribute2%TYPE;
p_Attribute3 apps.GL_AUTHORIZATION_LIMITS.Attribute3%TYPE;
p_Attribute4 apps.GL_AUTHORIZATION_LIMITS.Attribute4%TYPE;
p_Attribute5 apps.GL_AUTHORIZATION_LIMITS.Attribute5%TYPE;
p_Attribute6 apps.GL_AUTHORIZATION_LIMITS.Attribute6%TYPE;
p_Attribute7 apps.GL_AUTHORIZATION_LIMITS.Attribute7%TYPE;
p_Attribute8 apps.GL_AUTHORIZATION_LIMITS.Attribute8%TYPE;
p_Attribute9 apps.GL_AUTHORIZATION_LIMITS.Attribute9%TYPE;
p_Attribute10 apps.GL_AUTHORIZATION_LIMITS.Attribute10%TYPE;
p_Attribute11 apps.GL_AUTHORIZATION_LIMITS.Attribute11%TYPE;
p_Attribute12 apps.GL_AUTHORIZATION_LIMITS.Attribute12%TYPE;
p_Attribute13 apps.GL_AUTHORIZATION_LIMITS.Attribute13%TYPE;
p_Attribute14 apps.GL_AUTHORIZATION_LIMITS.Attribute14%TYPE;
p_Attribute15 apps.GL_AUTHORIZATION_LIMITS.Attribute15%TYPE;
p_Context apps.GL_AUTHORIZATION_LIMITS.context%TYPE;
l_date date :=sysdate;
begin
GL_AUTHORIZATION_LIMITS_PKG.Insert_Row(
p_Rowid => l_Rowid,
p_Set_Of_Books_Id => 1001,
p_Employee_Id => 9236,
p_Authorization_Limit => 100,
p_Last_Update_Date => l_date,
p_Last_Updated_By => l_user_id,
p_Creation_Date => l_date,
p_Created_By => l_user_id,
p_Last_Update_Login => l_login,
p_Attribute1 => p_Attribute1,
p_Attribute2 => p_Attribute2,
p_Attribute3 => p_Attribute3,
p_Attribute4 => p_Attribute4,
p_Attribute5 => p_Attribute5,
p_Attribute6 => p_Attribute6,
p_Attribute7 => p_Attribute7,
p_Attribute8 => p_Attribute8,
p_Attribute9 => p_Attribute9,
p_Attribute10 => p_Attribute10,
p_Attribute11 => p_Attribute11,
p_Attribute12 => p_Attribute12,
p_Attribute13 => p_Attribute13,
p_Attribute14 => p_Attribute14,
p_Attribute15 => p_Attribute15,
p_Context => p_Context );
commit;
end;
I am getting the error PLS-00306: wrong number or types of arguments in call to 'INSERT_ROW'.
Please help me with this.
ThanksI have found another way to achieve this. By inserting the data directly to GL_AUTHORIZATION_LIMITS table.
INSERT INTO gl.GL_AUTHORIZATION_LIMITS
(set_of_books_id,employee_id,authorization_limit,CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN)
VALUES (1001,p_person_id,1.00,SYSDATE,l_user_id,SYSDATE,l_user_id,l_login); -
Automation scripts for Instant client install\ add TNS entry
Guys,
I'm trying to develop an VB application,which uses data from an Oracle server residing in my neighbour's system.
My system doesn't have oracle client installed.
So, I've made use of Oracle Instant Client package-OCBC.
Now, I'm looking for an automation script that would do the following in order
1)Uzip the instant client into a directory. (say C:\ondemand\instantclient)
2)Add this directory into the PATH environment variable
3)Set up Service Names with tnsnames.ora ie. Create a TNSNAMES.ORA file to configure my Oracle instance connection.
4)Set the TNS_ADMIN environment variable to be the path to the tnsnames.ora
Can someone help me out with automated scripts?
Thanks,
BhagatDon't worry. I've solved it.
One of the files I was using stated: Always set the TNS_ADMIN environment variable or registry setting to the full path of the tnsnames.ora file.
I took that to mean including the "tnsnames.ora". It doesn't. It really does mean just the PATH part.
However, with this corrected, I got the pulldown populated. But with only the first part of the name, from the tnsnames.ora file. tnsnames.ora had mydb.<domain>.com. The pulldown only had mydb. Manually adding the .<domain>.com to it worked.
Now on to the next problem. <GRIN>
Cheers,
Eddie -
Hi,
Am having a requirement in my staging and prod env. to add, install,retract and remove wsp.
In my dev env i used to perform with Visual Studio ,so i didnt face any issues regarding retracting and removing the wsp from solution store.
But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
store and installed onto a particular web application [ NOT "All WebApplications"].
and if the wsp already exists , i need to retract it & remove from solution store and add it and install again.
can someone pls help me with the automated script .also if the folder contains multiple WSPs how can i doa for each loop [ iterate through wach ".wsp" file and perform install/...task].
i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion. manually entering all these commands is a cumbersome activity.
note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
soln store.
so i thought i will depend upon on stsadm again like old version of SP since its supported.
DasI would recommend you to use Power Shell so that you can do the automation easily. You can use
power shell for earlier version of SharePoint as well.
Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
Cheers, -
Help with Automator Script for QuickTime Pro Movie Conversion from Vado
All my videos from my Creative Vado do not show up in iMovie 09 initially on import. By trial and error, I have discovered that the old version of QuickTime Pro 7 ($29.95) will convert them to .mov files that can be seen by iMovie 09 once the converted videos are imported back into iPhoto.
I am (very) new to mac things, and it looks like in theory I could use Automator to handle to conversion process, and perhaps even the re-import into iPhoto. Does anyone have any suggestions on how to go about this? Where would be a good site to post this as a project that I could pay some one to help me, provide an automator script/workflow?
Are any other solutions available? Buy Final Cut etc?
PS (Rant): One of the reasons I bought a MacBook Pro and iLife was to take advantage of what I thought was supposed to be Apple's superior multimedia handling. It seems ludicrous to me that with a MacBook Pro running the latest software (10.6.4), and using the latest versions of iLife, I'd have to buy an old version of QuickTime to convert my videos so that I could manipulate them in iMovie. Sigh.MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
DV
AIC
Motion-JPEG
Photo-JPEG
MPEG-4 (Supported profiles)
H.264 (Supported profiles)
Apple Animation (Movie '09 only)
Apple Video (iMovie '09 only)
iMovie '08/'09 will not accept files containing extraneous data tracks such as:
'Tween
Text
Chapter
Closed Caption
Secondary audio such as AC3
etc.
iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
DivX
WMV
XviD
etc. -
Automation Script for RPD in Linux !!
Hi,
I have a requirement to automate the RPD in linux to get the Repository Documentation in RPD with the UNIX script.
Actual manual process is Tools -> Utilities -> Select the Repository Documentation -> Execute -> Save,
I Need to do the same process with UNIX script,
Repository Path : /devobi/OBIEE11g/instances/instance1/bifoundation/OracleBIServerComponent/coreapplication_obis1/repository/OracleBIAnalyticsApps
Thanks in Advance,Hi Srini/Sunil,
Thanks for your reply,
Yes, We have a manual process in OBIEE11g as i mentioned the navigation. But, We need to do the automation process with UNIX Script in Linux environment.
So, Please help me on this assignment.
Thanks in Advance, -
Automator script for remote shutdown
hello everyone
i use a mac mini as a media server and i use ssh from the terminal to turn it off remotely,
i know you can run terminal commands in automator, but i cant get it to work
can someone show me how the script should look like, im not even sure if im using the right script (shell script or apple script) .
thanks in advanceI suggest using straight AppleScript: http://discussions.apple.com/forum.jspa?forumID=724
-
How to create services start and stop automation script for diff servers
Hi All,
i want to create a bat file for automation purpose to start and stop services
i have some services in 1st server aand some in 2nd server and some in 3rd servers.
has you all know i have to follow sequences to start and stop services can any help me in creating .bat by linking 3 servers fo starting and stoping services.
Thanks in advance
Regards
SMHi,
this is the list of start oder for services in 11.1.2.1 from the Installation and Configuration Guide
1. Databases for repositories.
2. Any corporate user directories that you plan to configure for use with Shared Services.
3. Foundation Services Managed Server application server, which includes Shared Services,
and EPM Workspace.
4. Reporting and Analysis Framework — Agent Service (if required for your environment)
5. Reporting and Analysis Framework Application Server (if required for your environment)
6. Web server
The remaining services and processes can be started in any order:
1. Performance Management Architect Services
2. Performance Management Architect application server
3. Performance Management Architect Data Synchronizer application server
4. Essbase Server
5. Administration Services application server
284 Starting and Stopping EPM System Products
6. Integration Services Server
7. Essbase Studio Server
8. Provider Services application server
9. Financial Reporting Services
10. Financial Reporting application server
11. Web Analysis application server
12. Calculation Manager application server
13. Planning application server and the Hyperion RMI Registry
14. Financial Management service
15. Financial Management Web application server
16. Strategic Finance service
17. Performance Scorecard application server
18. Performance Scorecard Alerter application server
19. Profitability and Cost Management application server
to start services on different servers you can use the sc command in your batch file
for eg
sc \\10.121.201.21 start HypS9FrameworkAgent -
Automated scripts for importing & sharing on Mobileme?
How would I go about writing a script to automate the following process :
1) (Trigger for script): I insert my SDHC card from my camcorder into my iMac card reader.
2) Launches iMovie and imports all clips as new event.
3) Creates a single project by including all of the events just imported.
4) Shares the project on Mobileme.
Currently I'm only managing to view, compile and share movies of the kids when I get (a very rare!) few hours at the weekend. If I could just pop the card into the reader on my way out to work in the morning it would transform my usability of iMovie and mobile me, as I could then view and share the 10-15mins of precious footage I took the night before.
Many thanks,
DThanks for info.
The work around I'm using at the moment is to plug in the card in the morning, then access my Mac remotely using Jaadu VNC via my iPhone to do the import and publishing.
Does the job, although a little more cumbersome and need reliable 3G / WIFI connection. -
Automated scripts for portal transport
can portal transport operations be made programmatic?
is there any way to automate the process?
any help will be highly appreciated.
thanks
AMNHye Brijesh,
i'm a newbie in oracle olap, i already created a cube using Analytic Workspace Manager 10.2.0.3.0A and oracle 10gR2.
based on my requirement, i have to make sure that my cube data is match with the fact table for example when a row of data been deleted from the fact table then the cube also been updated.
i search for some command the i found the command
clear all from CUBE_APP_RECV_PRT_TOPVAR
then i maintained the cube then the data been updated.
how to make it the command clear all from CUBE_APP_RECV_PRT_TOPVAR for somehow run in scheduler or procedure something. if not then how to make it automated clear?
thanks in advanced,
rao -
Script for Automator to reorder text in file/folder name.
I have a folder full of pictures named by their first and last names. I need them to be renamed by listing them by last name first, first name last in order to get them alphabatized properly. Anybody out there have a nice Automator script for me to make this happen? I'm new.
Looking for it to look like this:
Brown, JohnTry this (should work for "John H Smith" --> "Smith John H" as well):
The Run Shell Script Action is:
for f in "$@"
do
basename=${f##*/}
path=${f%/*}
ext=${f##*.}
name=${basename%.*}
if [[ "$name" =~ \ ]]; then
fname=${name% *}
lname=${name##* }
name="$lname $fname"
mv "$f" "$path/$name.$ext"
fi
done
If you want a comma, then change: name="$lname $fname" to name="$lname, $fname"
As with all scripts, back-up the files before running -
In my project I have to make certain calculation and then get the data plotted in the given report template. I am using automated script for this. My script is doing all the calculations and then it not selecting and drag-dropping the selected channels on the report template. Its saving the blank report template.
I am struggling to get the data for specific channels plotted by using the script. I need the selected channels to be plotted on this report template and then get it saved.
Any help will be deeply appreciated. Thanks
Solved!
Go to Solution.Hi LaxG,
Brad is absolute right. It is possible to create your whole layout via script.
If you have loaded the example report layout you can copy these lines to create a new line in your plot. This is the recommended object oriented way.
call Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Add(e2DShapeLine, "anyName")
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.XChannel.Reference = "[1]/Zeit"
Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape.YChannel.Reference = "[1]/Geschwindigkeit"
For performance reasons it's recommended to use the it like this.
dim oLine
set oLine = Report.Sheets("Blatt 1").Objects("2D-Axis1").Curves2D.Item("anyName").Shape
oLine.XChannel.Reference = "[1]/Zeit"
oLine.YChannel.Reference = "[1]/Geschwindigkeit"
Like Brad mentioned it is much easier, that you have a stored template of your report with all setings and customisations already done.
You open this layout file and have stored the names of your calculated channels. When you are doing this with a script they always have the same name and belong to the same group.
Now you can customize the references of the line items.
Kind Regards,
Philipp K.
AE | NI Germany -
Help with simple Automator script
I have a simple Automator script for updating a specified folder with files from another folder. It consists of only two actions:
1. Get Folder Contents (from the folder I drop on the Automator executable).
2. Copy Finder Items.
I left the option "replace existing files" unchecked because there's no point in replacing a bunch of files that already exist (we're talking about 4000-5000 files in the source folder). I assumed that meant to ignore any existing files but, on the contrary, I found out that the script is copying duplicates of all the existing files -- making my target folder about 9000 files strong!
How do I get a command into the middle of this script to restrict the Copy Finder Items command to files that do not already exist in the target folder? (It would be even nicer if it could check for files that are older than the files being copied and actually replace (only) those as well.)
Any ideas?If you need the Terminal window to stay open, then you're looking at scripting Terminal. You can do this with Automator's run applescript action, or you can just use Script Editor (in Applications > AppleScript). Either way you will need to save the workflow/script as an application and drag it to your Login Items (in System Preferences > Accounts).
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Terminal"
activate
set commands to "cd /Users/lenny/ventrilo/
/Users/lenny/ventrilo/ventrilo_srv"
do script commands in front window
end tell</pre>
PowerMac G5 (June 2004) 2x1.8GHz 1.25GB, PowerBook G4 (12-inch DVI) 1x1GHz 768MB Mac OS X (10.4.3) -
About shell scripts for large-scale automation of encoding tasks
in the user menu of Compressor, it said that we can use the command line to write shell scripts for large-scale automation of encoding tasks.
I would like to have more information about the shell script for compressor, is that any document link?
ThanksYou can use a script function to set-up a more secure environment that you call at the start of every admin script. This could be your main stamp album for stuff that can be moved there.
A few more stamps to add to the collection (be sure to read up on them before use):
1) reset the command hash
hash -r
2) prevent core dumps
ulimit -H -c0
3) set the IFS
4) clear all aliases (see unalias -a)
Also you can remove the ALL from sudo and add explicit commands to the the sudoers file. There's a lot of fine tuning you can do in sudoers - inc. env variables as teekay said.
But I'm no expert so best to check all of the above.
Maybe you are looking for
-
HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.
HP Officejet pro 8500 won't print and keeps asking for a proxy setting. Help.
-
No audio streaming music, yes audio everywhere else
Setup: - MacBook with WD MyBook1TB external for iTunes Library - Apple TV, component video to plasma TV & analog audio to stereo - Airport Express hooked up to a JBL OnStage iPod speaker set - iPhone with Remote app A couple nights ago I set the Appl
-
I had to do a recovery on my computer. How can I put my music from my ipod's on my computer itunes library without having to do the whole CD thing?
-
Loading a blob from forms ?
I would like to know if anyone has loaded a file into the database in a blob field with forms not using OLE in client server mode.
-
Transport Requests : Issue
Hi All, I Transported one request from my development system to the quality system. It showed be that the objects under the requests are transported with warnings!. warnings were there because some objects were there I activated with errors(Activate