Is there a script for apache to automatically make a "download as tar"

link?
For example if you run apache and set /some/folder as documentRoot, if there is no index.html or .php there it will display the folders and files.
I want to make apache also display a link for eveyr folder such as "Download as tar" and it would automagically tar the folder and offer for download.
Possible?

Generally speaking, if a script doesn't run in a later version, you can put it in a subfolder withteh correct version number as the name and it will work. For CS3 that would be "Version 5.0 Scripts" without the quotes.
That said, if you have Acrobat pro, it's probably easier to use the extract pages command...

Similar Messages

  • How to find the existing sql server backup plan/schedule is there a script for that?

    Friends,
    Is there a easy way to find out in SQLServer (for All DB's) what is the current backup plan/schedule ? is there a script for that?
    Thanks,
    Karthikeyan Jothi

    To check the database backup 
    Select
    SERVERPROPERTY('ServerName'),
    db.name,
    CONVERT(VARCHAR(10), b.backup_start_date, 103) + + convert(VARCHAR(8), b.backup_start_date, 14) backup_start_date,
    CONVERT(VARCHAR(10), b.backup_finish_date, 103) + + convert(VARCHAR(8), b.backup_finish_date, 14) backup_finish_date,
    case
    when (DATEDIFF(hour, b.backup_start_date, getdate())<24)then 'Success'
    when (DATEDIFF(hour, b.backup_start_date, getdate())>=24)then 'Failed'
    end Status,
    DATEDIFF(hh, b.backup_finish_date, GETDATE())BackupAgeInHours,
    (b.backup_size/1024/1024/1024 )BackupSize,
    case b.[type]
    WHEN 'D' THEN 'Full'
    WHEN 'I' THEN 'Differential'
    WHEN 'L' THEN 'Transaction Log'
    END Type,
    ISNULL(STR(ABS(DATEDIFF(day, GetDate(),(Backup_finish_date)))), 'NEVER')DaysSinceLastBackup
    FROM sys.sysdatabases db
    Left OUTER JOIN (SELECT * , ROW_NUMBER() OVER(PARTITION BY database_name ORDER BY backup_finish_date DESC) AS RNUM
    FROM msdb.dbo.backupset) b ON b.database_name = db.name AND RNUM = 1
    where dbid<>2
    OR
    SELECT
    DISTINCT
    a.Name AS DatabaseName ,
    CONVERT(SYSNAME, DATABASEPROPERTYEX(a.name, 'Recovery')) RecoveryModel ,
    COALESCE(( SELECT CONVERT(VARCHAR(12), MAX(backup_finish_date), 101)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'd'
    AND is_copy_only = '0'
    ), 'No Full') AS 'Full' ,
    COALESCE(( SELECT CONVERT(VARCHAR(12), MAX(backup_finish_date), 101)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'i'
    AND is_copy_only = '0'
    ), 'No Diff') AS 'Diff' ,
    COALESCE(( SELECT CONVERT(VARCHAR(20), MAX(backup_finish_date), 120)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'l'
    ), 'No Log') AS 'LastLog' ,
    COALESCE(( SELECT CONVERT(VARCHAR(20), backup_finish_date, 120)
    FROM ( SELECT ROW_NUMBER() OVER ( ORDER BY backup_finish_date DESC ) AS 'rownum' ,
    backup_finish_date
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'l'
    ) withrownum
    WHERE rownum = 2
    ), 'No Log') AS 'LastLog2'
    FROM sys.databases a
    LEFT OUTER JOIN msdb.dbo.backupset b ON b.database_name = a.name
    WHERE a.name <> 'tempdb'
    AND a.state_desc = 'online'
    GROUP BY a.Name ,
    a.compatibility_level
    ORDER BY a.name
    To check the schedule you can try the below script
    https://gallery.technet.microsoft.com/SQL-Jobs-Complete-eabe0050
    --Prashanth

  • Is there a script for an audio controller linked to an embedded swf?

    Is there a script for an audio player or controller that has some functions like play resume stop for an embedded swf file?  I would use buttons for this purpose but for some reason, when I click on the pause button on the pdf, and then click on resume, playback resumes five seconds before the point at which I paused. And i would prefer to rely on just using the built in player in the pdf but the quicktime player doesn't play the swf smoothly; it freezes.

    iTunes Folder Watch
    tt2

  • Is there a way for this community, to make a suggestion to Apple to include blocking a specific contact number calls and messages just as other phones provide that feature for their users.

    Is there a way for this community, to make a suggestion to Apple to include blocking a specific contact number calls and messages just as other phones provide that feature for their users.

    No phone provides true call blocking. At best, they provide call diversion. Essentially, the call is answered and disconnected automatically. If I recall, Apple is adding call diversion features in iOS 7.
    Best of luck.

  • Is there a plugin for CS6 that I need to download to get my HP Officejet 7612 Wide Format Printer to be compatible with my MacBook Pro that is running my CS6 program?

    Is there a plugin for CS6 that I need to download to get my HP Officejet 7612 Wide Format Printer to be compatible with my MacBook Pro that is running my CS6 program?

    HP Officejet 7612 mac updated drivers. You can download link.

  • HW acceleration (direct2d) causes problems for my site , is there a script to disable it automatically?

    direct2d acceleration on FF4 causes really bad font rendering problems for my site.
    Text goes on to of each other and behind pictures making it impossible to read for some parts. Disabling HW acceleration fixes the problem. Is there a script that I could use to disable it automatically for my site?

    In fact updating my graphics was the cause of the problem. With the old drivers there were no problems. It depends on the system. So far I've tested on 6 Windows PC's. on 2 of them it worked fine. My site should be 100% W3C compliant. It works fine on 3.6, Chrome, IE and Opera

  • Is there a script for renaming layers in ID CS5?

    Hello,
    I am new to scripting (I just started today) so far I have found some very useful existing scripts to help automate my workflow. I am wondering if anyone knows of the existence of a layer renaming script for InDesign.
    I have seen similar scripts for PS. I want to learn how to script but I am in need of this one for Monday...
    Thanks in advance!

    Antonio:
      Please remember that we're all volunteers here. If you can ask your question so we can understand it, we can probably help you. But if you cannot, it would take quite a lot of effort on our part to even determine what you asking.
    Jongware wrote in the other thread:
    This is quite a specialized case so it's unlikely there "is" a script. But there "could be" one. Ask in the scripting forum, as there are some people in there sharpening their skills with such requests. Make sure to detail what you need it to do: which layers? rename to what? Et cetera.
    You're not doing a good job on detail. How would the script know what to change your first, 3rd, 4th, and 5th "atoms" to?
    You have given us no information that I can see.

  • Is there a script for changing layer names in ID CS4?

    I have multiple documents with an average of 20 layers in each. Each of the layers is named for the expiration date of the coupon in the ads. When a new order comes in I retrieve the previous files and change the dates via scripts and the Find/Change option. I have looked but cannot find a way to rename the dates in the layers as well.
    Does anyone know of a script for this?
    Thanks in advance!

    E-mail, eh? You're missing out a lot of fun stuff, as there is
    - editing your own posts
    - using bold and italics to highlight important stuff
    - finally being able to shout (some posters think it's necessary to use a large bold font to make their post stand out in the crowd. They are correct, it does. In the Bad way.)
    - inserting images
    - uh, Jive (-- sorry, couldn't think of any more fun stuff to add)
    Visit the scripting forum (using a web browser, s'il vous plait) by clicking here.

  • Is there a script for scaling multiple precomps?

    Hi!
    Is there a script or another good way to scale tens of precomps in one go?
    I just noticed that I need to "grow bounds" to over 20 compositions in order to be able to use an effect on them. Do I need to manually go inside each precomp and change their comp settings for a bigger size or can this be done faster somehow?
    I tried the grow bounds effect, but could not get it to work. What I'm doing is simple: I'm blurring the layers to make them "glow" but for the blur to look nice the layers need to have bigger bounds.
    Any help will be appreciated!

    I used this After Effects Community Help search for 'script scale multiple compositions' and found this:
    http://www.aenhancers.com/viewtopic.php?t=701

  • Is there a script for dimensioning?

    Not just any dimensioning ie: Cadtools,
    Is it possible to have "intelligent" dimensioning inside Adobe Illustrator? For example: If I draw a rectangle 4" wide by 2" high, and I stretch it to 6" x 2" is there a way for the 4" dimension to auto-update to 6" without manually overriding the text? Like they do in autoCad. I've been scouring the web for answers with little luck. I even bought CADtools which is great but doesn't provide this option. Any help/suggestions/finger pointing would be greatly appreciated.

    Nope. Illustrator (you know...this ostensibly "professional" drawing program) doesn't provide even rudimentary "dumb" dimension tools (just as the program still dosen't even provide live geometric shape primitives like any other drawing program under the sun does).
    Cheezy workarounds can be (and have been) devised with scripts to create dumb dimension labels, but updating when objects change really requires special dimension objects. Scripts loose their object-specific references when the script completes, or when the script's palette is closed, unless you code into the script some kind of object labeling, which would become cumbersome real quick.
    If it's a frequent need, you need a proper feature for this, and you're just using the wrong program. Use Draw or Canvas. You can probably buy a competitive side-grade to either of those programs for not much more than you pay for an elaborate plug-in, and get alot more value in the deal.
    JET

  • Is there a script or API to automate upload of Videos to iTunes U?

    Is there a script or API similar to uploading to youtube where I can upload videos to my class on iTunes U?
    Thanks!

    Thanks Guys! StartupSound was exactly what I wanted. Perfect. It works just great. There is something reassuring about a Mac's startup sound that I couldn't just mute it, so to be able to keep it at a soothing level no matter what the volume is is perfect. Thanks again. P.S. My neighbors thank you, too!

  • Is there a script to find text and make a hyperlink? (CS4)

    I'm developing an online glossary for a book project. I would like to write a script for InDesign that will find all instances of a given text---let's say, "shoe"--and add a hyperlink to each glossary entry. Is this possible, or do I have to manually search across all docs in the book to insert links? My gut tells me there's a way, but I can't seem to put my finger on it. HELP!!!
    Sincerely,
    FrustratedEditorNerdTryingToTeachHerselfStuff 

    Yes, it should be possible. Here is a script that you could use as a starting point.
    Regards,
    Kas

  • Bash script for apache restart

    I need a way of restarting apache for a user who does not have admin priveleges. My thought is that a bash script could be written to restart apache and would also have the admin password. The permissions would be such that the non-admin user could execute it but not read/write.
    i.e.
    sudo apachectl restart
    ??password??
    I don't know if this is possible because sudo has -p but I didn't see --password
    Mini   Mac OS X (10.4.8)  

    Hi David,
       I've posted about sudo on two threads that are still on page one, Startup permissions change and system.log question. You shouldn't need a password and you can specify exactly who should be able to restart Apache.
       You probably think of sudo as an all-or-nothing solution; either a user can execute anything as root or nothing. Nothing could be closer to the truth. Not only can you specify individual commands but you can specify arguments as well. Thus, you could give someone the right to start or restart Apache but not to stop it. The perfect solution has been created for you; give it a whirl.
    Gary
    ~~~~
       ... an anecdote from IBM's Yorktown Heights Research Center. When a programmer used his new computer terminal, all was fine when he was sitting down, but he couldn't log in to the system when he was standing up. That behavior was 100 percent repeatable: he could always log in when sitting and never when standing.
       Most of us just sit back and marvel at such a story; how could that terminal know whether the poor guy was sitting or standing? Good debuggers, though, know that there has to be a reason. Electrical theories are the easiest to hypothesize: was there a loose wire under the carpet, or problems with static electricity? But electrical problems are rarely consistently reproducible. An alert IBMer finally noticed that the problem was in the terminal's keyboard: the tops of two keys were switched. When the programmer was seated he was a touch typist and the problem went unnoticed, but when he stood he was led astray by hunting and pecking.
             -- "Programming Pearls" column, by Jon Bentley in CACM February 1985

  • Is there a script for this?

    Hello,
    I have a 176 page pdf that has black type throughout, a lot of those pages also have boxes filled with black. I need to change the boxes to rich black but leave the type black only. I tried using actions but it changes both since they have the same fill. I posted this on the creating and editing forum and got no reply, so I'm assuming it may not be possible. Is there possibly a script to do this?
    And if there is could someone talk me through using it. I've used scripts in Indesign but have no clue how to apply them in acrobat.
    I'm on a Mac using Acrobat 9 Pro.
    Your help is much appreciated,
    Patty

    Thanks for the response Gilad.
    Sorry it has taken me a bit to get back to you. I work for a printing company and don't always get time to "play around" with things.
    I did try your suggestion of color convert with no good results. The boxes and the type have the same fill color and selecting any object
    or line art would also change the type. Also tried changing just the type and both change. Not sure why.
    I do very much appreciate your suggestion.
    Thank you,
    Patty

  • Is there a script for applying a certain style to several thousands of words arranged in a list?

    Hello, I have tried using FindChangeByList, but I'd pretty much do all the work of pasting every word on the brackets, so i could as well apply the styles by hand.
    So my project involves applying the same style to around 11 thousand words that appear in a book. Those words are mostly names and brands, and they appear throughout the whole text, so applying that style manually would be quite time-consuming.
    I have those words set aside in a list.txt
    Does anyone know if I could use that in any script and apply the style automatically?
    Like I said, pasting every single word into FindChangeByList is out of the question, just like applying the style word by word, it would take forever...
    ...thanks!

    Okay, for anyone that might be interested in this as I was, I found a solution.
    If you want to have a particular text expression on your .txt list to be used as a search parameter by your script, here are a few tips:
    Let's say you want to add the following 2 expressions on your list, without the quotation marks:
    a) "test, test."
    b)"[test] {test}"
    1 - Like Jongware said, you MUST abide by GREP syntax.
    2 - If you want to put an expression on your .txt list that DOES NOT uses characters that represent GREP syntax (example a) with regular text, commas and simple punctuation), you may simply add them to your list between parentheses:
         a) (test, test.)
    3 - If you want the script to search for an expression that DOES CONTAIN characters that are also used by GREP syntax (example b) you can try stuff like:
         b) (\p{Ps}test\p{Pe})
         note the parentheses, because it's a specific text expression
         then note the \p{Ps} and \p{Pe} that mark opening or (s)tarting and closing or (e)nding punctuation such as brackets, braces, parentheses...
    Here is a file with the GREP expressions that helped me solve my problems:
    http://www.kahrel.plus.com/indesign/grep_mapper.pdf
    Although this is a very specific matter and probably easily solvable by all the professional scripters here, I thought I'd share it since it took 3 whole days of studying for me to conclude everything.
    Thanks again, specially to Jongware

Maybe you are looking for

  • Status record 65 error in ale service

    HI Experts,                I have an issue when I tried to send a cost center idoc from one system to another. The company code for the record is 0093 in the sender system; however when the idoc gets created, in the idoc the value of the company code

  • Difficult Install Conditions: Suggestions Needed

    Hey, I have a bit of a challenging situation to figure out a good solution to... Background: I would like to acquire a VPS from a good company in town. They offer virtual machines that run Ubuntu by default, but also mentioned that they will install

  • My adjustment brush suddenly stopped working. LR 5.

    My flow and density are set to 100 and I've tried using an overlay just to be sure. Nothing is working. Any ideas?

  • Trouble downloading the driver for my windows patron

    I have downloaded windows 7 onto my mac (version 10.7.5), and on my windows side, i am unable to connect to the internet because the computer does not detect a driver for my network adapter. i have been told to download the driver from the mac os ins

  • Integration between e-business and discoverer

    we use ebusiness suite 11.5.10 and want to make end users use discoverer for their requests and reports, is it possible? is there a library that convert the application user and their responsibilities to EUL and business area that they can access and