Deleting wiki files

Does anyone know how to delete wiki entries from the OS file system command line?  My wiki got spammed, and I have lots of entries to delete.  I don't want to have to open each entry and click on -, and specifiy to 'permantantly delete' each spam entry.
For one spam entry, I tried deleting the /Library/Collaboration/Groups/MyWiki/wiki/#####.page directory, but that leaves a link to the spam entry in my 'Recent Changes' list on the wiki page.  And when I click on that entry, I get 'page not found'.  So, there is another place that the spam entry is listed, but where???
Sometimes you have to delete a db file and rebuild it, but I have no idea if that's the case here or what db file that would be.
Any ideas?
Thanks in advance.
Stephanie

They _should_ be under your XDG_DATA_DIR I think. But I don't know if Gnome does that.

Similar Messages

  • How do you delete .pdf files?

    How do you delete pdf files from android Adobe Reader?  I  can delete the files, how do I
    delete the file name from the Adobe Reader file list, especially duplicate file names.
    someone  please help me. this will have to be done from  within the Reader, I  think. ?

    The full instructions are here: http://learn.adobe.com/wiki/display/readermobile/Android+FAQ.
    Ben

  • How do you delete Wiki attachments?

    Our /Library/Server/Wiki/FileData folder is about 7 GB, and I noticed that any time Server.app checks Wiki's settings, there's a mds/mdworker process in the background that rips through this folder before Server.app is able to report back. I think this had a lot to do with Server.app's unresponsiveness.
    So, I've done some finds to see where some of the larger culprits are in that directory as follows:
    bash-3.2# find /Library/Server/Wiki/FileData -size +30M
    ./FileData/08/4d/4bff-af85-4d15-b42e-44072b1c9ee7/Implementation ppt.ppt
    ./FileData/01/50/341f-468f-44c4-86ce-a06defefdb39/Implementation W'shop.zip
    ./FileData/06/d0/5725-f20c-4642-b33f-ace9cacc39b1/Implementation W'shop 2.key
    ./FileData/08/25/8b1f-6d2b-45c6-9054-283dc735f4f8/Implementation W'shop 2.zip
    The next thing I did was to search through the Postgres database to see where those files were located. I used this command to connect if you're interested:
    /Applications/Server.app/Contents/ServerRoot/usr/bin/psql -U _postgres -h /Library/Server/PostgreSQL\ For\ Server\ Services/Socket/ collab
    From there, I searched the entity table for those unique IDs (removing the slashes):
    collab=# select * from entity WHERE uid = '084d4bff-af85-4d15-b42e-44072b1c9ee7';
    You can reduce the fields shown to only show the ID, long name, and parent ID and type as follows:
    collab=# select uid, long_name, ownedby_uid_fk from entity WHERE uid = '084d4bff-af85-4d15-b42e-44072b1c9ee7';
    The results look like this:
                     uid                  |                long_name                 |            ownedby_uid_fk           
    --------------------------------------+----------------------------------------- -+--------------------------------------
    084d4bff-af85-4d15-b42e-44072b1c9ee7 | Implementation ppt.ppt | c8d549b2-edb3-471f-a9f6-e56e02e208d3
    (1 row)
    I then searched the same table for the record that owns the attachment:
    collab=# select uid, long_name, ownedby_uid_fk from entity WHERE uid = 'c8d549b2-edb3-471f-a9f6-e56e02e208d3';
    Result:
                     uid                  |         long_name          |            ownedby_uid_fk           
    --------------------------------------+----------------------------+------------ --------------------------
    c8d549b2-edb3-471f-a9f6-e56e02e208d3 | Some Wiki Page Name | 41b2e7c6-04f4-4dea-a2cc-732d7ce9d492
    Armed with the name of the relevant Wiki page, I jumped on to the Wiki as a local administrator, found that page, and deleted it permanently.
    BUT....
    1. The file attachment is still present in the finder
    2. The Attachment record, and its parent Page are both still present in the Entity table
    So, how do you really delete this content?
    P.S. How can I more properly format blocks of code here? I'm choosing a monospaced font, but I want to prevent line breaks too.

    The problem is, I want to keep the emails as a record WITH attachments, but I don't want to have hundreds of temporary files (attachments) somewhere on my iPad. For instance, on my PC I can download an attachment to view it, then delete it later, and I will still have the original email with the attachment which I can access and re-download at any time in the future.
    I thought there might be some kind of 'delete temp files' under Mail in Settings but there doesn't appear to be anything like this. I think a possible solution may be to delete the mail profile from my iPad and then add it again. However this is not ideal at all.

  • Deleting archive files

    Hi gurus,
    we have been archived pi messages and we can see this with t-code al11. We would like to physically delete this files. How can we do that?
    Kind Regards,
    PM

    Hi Peter,
                      Do you possess administrative rights to install software in your system? If yes please download the WINSCP software from this link http://winscp.net/eng/download.php
    After you install the software, consult the SAP logon pad and put server details of your PI server in WINSCP configuration. Put port number as 22.
    Request your SAP BASIS OS level team to provide you with username and password to login to the PI server at Operating system level. with WINSCP you can copy, move,create and delete files in the PI server. WINSCP acts as a FTP bridge between your system and PI server.
    If you do not have administrative privileges. You need to write scripts or batch files. If operating system in PI server is unix/linux use this link http://www.unix.com/shell-programming-scripting/24911-how-delete-files-unix-using-shell-script.html
    to write shell scripts to delete files. Request your basis team to copy the script to server and execute it once.
    If your operating system is windows then use this link http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days. Request your basis team to copy the batch to server and execute it once.
    Finally you can use the feature "Defining Operating System Commands Before/After Processing" in File sender or receiver communication channel configuration settings. Here you can set the command to execute shell scripts or batch files which will delete old files during each  instance of running the scenario. For more information on this technique try these links
    Executing Unix shell script using Operating System Command in XI
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/frameset.htm
    https://wiki.sdn.sap.com/wiki/display/XI/SAP%20XI%20File%20Adapter%20OS%20Command%20Line%20Feature
    Glimpse at OS Command: Yet Another Scenario
    Hope this solves your problem.
    regards
    Anupam

  • Delete wiki entries

    Does anyone know how to delete wiki entries from the OS file system command line?  My wiki got spammed, and I have lots of entries to delete.  I don't want to have to open each entry and click on -, and specifiy to 'permantantly delete' each spam entry.
    For one spam entry, I tried deleting the /Library/Collaboration/Groups/MyWiki/wiki/#####.page directory, but that leaves a link to the spam entry in my 'Recent Changes' list on the wiki page.  And when I click on that entry, I get 'page not found'.  So, there is another place that the spam entry is listed, but where???
    Sometimes you have to delete a db file and rebuild it, but I have no idea if that's the case here or what db file that would be.
    Any ideas?
    Thanks in advance.
    Stephanie

    You're in the wrong forum.

  • How to delete when file in use by the finder?

    I have two files in my trash which won't delete. I get the error that they are being used by another program. Holding down option, using secure empty trash, using the terminal method of deleting the trash.. none of them work.
    So I did the terminal command: lsof /path-to-file and found out it was being used by Finder. I don't think I can exactly quit the Finder process in Activity Monitor.. so how can I get these files out of my trash?

    Thanks. Unfortunately, when I quit finder and try to delete the files in the trash by the following command:
    sudo rm -rf ~/.Trash/*
    It tells me "Directory not empty". Argghh..
    I feel like I've tried everything. Can someone give me some other suggestions? Thanks

  • Error while deleting a file which is in a folder which inturn in workspace

    12:20:42.309  DELETE  (FAILED: Conflict [(pre||post)-condition failed: x:concurrency-lock-denied])  Hello.java   (C:\CFolder1\WSF1\WSF2\Dev\HelloWorld\Package\Hello.java)
    --- Problem summary: ---
    12:20:42.309  DELETE  (FAILED: Conflict [(pre||post)-condition failed: x:concurrency-lock-denied])  Hello.java   (C:\CFolder1\WSF1\WSF2\Dev\HelloWorld\Package\Hello.java)
    I am getting above error while deleting a file which is in a folder which inturn in workspace

    Here is the problem I have with deleting my folder. I had created a WD project TaxTool and and added the DC to my SC. There were obviously some checkedout activities. Being new to this, I deleted the project directly without checking in the activities. Now I have folder TaxTool/_comp with nothing underneath on the DTR server and on my client. I am unable to checkout TaxTool for delete but the checkout of _comp folder fails in NWDS with the following error:
    <b>EDIT  (FAILED: server response: Conflict [(pre||post)-condition failed: x:no-exclusivity-with-existing-checked-out-resources])  comp   (C:\JDI\JDIDEMO1\intelJDI_TEST\dev\inactive\DCs\intel.com\TaxTool\_comp\)</b>
    If I try the same from the DTR shell, I get this following error:
    <b>Unexpected problem occurred during executing command.Lockfile "C:\Documents and
    Settings\bvedamur\.dtr\.syncdbs\5b0d8b2110a7a29883734c0407462df8.syncdbM.lock" is already in use by another process.</b>
    I am the only user in the system (doing R&D) and I have tried Sync and Delete. Nothing works. Help appreciated.
    Thx
    Bhaskar

  • When using a Seagate 1T external hard drive and Time Machine to back up hourly, if I delete photo files from the Mac hard drive before the next back up, are these retained on the Seagate drive or will they be lost (overwritten) in the next backu in the ne

    Does Time Machine erase previously saved files if, say, photos are deleted from the Macbook upon the next update, or will they be stored indefinately despite the current status of the files stored on the computer? Eg. can I bckup photo files to a Seagate 1T disc and then delete them to make more room on the computer in the knowlwdge that they are always going to be on the Seagate disc? Sorry if this is very elementary but I have not used a back up before like this, and am not sure how successive backups are overlaid or retained. Thanks!!

    TM is not designed to do what you ask. As Allan wrote TM is an incremental backup not an archival solution.
    If you delete a file from the HD it will eventually be removed from the TM backup (if it ever makes it on to the backup at all).
    How long before it is removed depends on a number of factors, TM disk drive size being one factor but not the only one.
    Material that is impossible to replace and is important to you (image files usually fitting that description) need to be backed up to as least one other drive and preferably more for long term storage.

  • Deleting individual Files from trash folder

    This should be a simple question...Is there a way to permanently delete individual files/folders from the trash folder instead of emptying the entire trash folder? TIA, Scott

    As Allan says, no... the trash *should not* be used as a repository for files you're not sure you want to trash yet. Not only is this extremely hazardous, as it's easy to accidentally empty the trash, but it also puts all those questionable files outside the reach of Time Machine, so they will not be backed up. If you need a "Pending Trash" folder, create one on your desktop, and then put files in the trash only once you are truly ready to delete them.

  • Why does iTunes create disk errors when deleting movie files?

    I use a Macbook Pro, OSX 10.7.5. When I delete movie file from my iTunes library I get disk errors. I need to option boot select the recovery disk and repair the disk.  Deleting a movie file I have placed on my desktop with finder does not create any errors.  Most of the movie files are created as .m4v movies. They all play just fine with my Apple TV. I have tried turning off the Apple TV and rebooting before I delee files but nothing seems to work.
    Any ideas?
    Lance

    If you let iTunes organise your media folders then that is the way it is. An option would be to change the Media Kind to TV Show which would gather them togther in one folder, but in a different part of the library.
    tt2

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • I have installed itunes 11.0.2.26. When I delete a file or podcast I am not being prompted to delete the file from its folder at the same time.

    I have installed itunes 11.0.2.26. When I delete a file or podcast I am not being prompted to delete the file from its folder at the same time. How do I restore this facility? I am running a 64bit Windows 7 OS

    Is the media files in question in the iTunes library or elsewhere on the computer?

  • If i delete a file from a smart folder is it deleted from the hard drive?

    I've got a late 2011 17" MacBook Pro with a 750 GB harddrive. I'm trying to free up space by deleting movie files. I spoke with tech support about this, and they suggested creating a smart folder of all my movie files in order to find them and delte them. I did this and deleted many files, but when I open system information to check on the amount of hard drive space, I'm still seeing the same amount of hard drive space dedicated to movies.
    If I make a smart folder and delete files in that, am I really deleting them from my hard drive or just from the smart folder?

    What files are stored automatically by Time Machine?  I thought Time Machine pretty much saved everything on my hard drive to my external hard drive.  If that is the case, wouldn't my music files and picture files be on Time Machine (via my external hard drive)?
    Time Machine does backup almost all files on your hard drive, unless you have chosen to exclude them. There are a few exceptions, but nothing you should worry about. Your music and photos should be there, but Time Machine will not backup your iPhoto library if iPhoto is open.
    Also, are the photos from iPhoto automatically stored on my external hard drive via Time Machine?  If so, can I delete the pictures from iPhoto without deleting them from the external hard drive?
    Yes to both questions, with the above cavat that Time Machine won't backup the library if iPhoto is open.
    I notice that it takes iPhoto quite a while to load, and if deleting those photos would allow it to load quicker I would delete them (providing they would remain on the external hard drive.
    I only have a few pictures in iPhoto, compared to my wife's 3,500+, and my iPhoto doesn't load appreciably faster that her's does even though I have a faster computer. In my opinion, it isn't worth the effort it would take to delete them for such a small gain.
    You should have at least 2 complete backups to try to make sure you won't lose any data. Hard drives do fail and/or files can become corrupted. Time Machine can back up to more than one external hard drive or you can use a cloning program.
    Time Machine FAQ

  • HT203200 Cannot delete the file from the itunes folder

    I cannont delete the file from the itunes folder because it tells me I need permission to do so.  I am the admin person for the laptop plus I have checked my permissions under the security tab in the files properties.  How do I delete this file to start again?  It downloaded 1.2GB of the file before the error message appeared, so its paid for and all but not looking like I'll get to watch it before the time runs out on the movie being available for me to watch. :-(

    Try deleting the file without iTunes running.
    When you next open iTunes it should then be marked as a missing file and you should be able to delete the entry from iTunes.
    Hope this works
    Regards,
    Colin R.

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

Maybe you are looking for

  • Remote Desktop Connection with WRT54G from Novice

    Well, I’m usually pretty good at using Google and forums to eventually figure out how to fix my problem but this one absolutely has me stumped and I’m hoping someone out there has an answer for me. For the record, I have probably a beginner/intermedi

  • Purchase Order Form Issue

    Hi Guys, Our ABAPer changed a PO form and moved into QA and PRD. It is printing properly in QA. In PRD the bold feature is gone and printing crappy. Its the same form Why is it doing that in PRD. I am sorry it is not a FI issue. If any of you guys kn

  • Edit Folder Settings in Email accounts

    I have installed the new OS 10.2 and have lost the ability to sync folders on my office email.  i have tried various setups in email accounts.  I have turned on and turned off Sync folders.  it makes no difference on office mail account Until the cha

  • Flex kbd event help

    Using the example I found at http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf64a29-7fdb.html, I modified my Flex app to listen for keyboard shortcuts being pressed.  It works but only after the user clicks on a blank spot on the

  • Documentation and resources

    Hi, does anybody know about some more docs besides the standard product documentation, e.g. course material, webbased trainings or internal documentation for the iPS? I'm located in Europe and already had a look at http://treasure-island.netscape.com