How to keep file timestamp?
When I copy a file from a PC to an other, the copy doesn’t have the same timestamp as the source. I have the same probleme using either copy/paste or xcopy. The source PC runs Win2003 and the destination one WinXP, they have the same setup (time wise). How could I prevent that from happening ? or fix it afterwards ? Robocopy Should do this for you by default. It is also much faster and [...]
Continue Reading »Open .123 Format File
Does anyone know how to open a .123 file? Apparently this is a Lotus Notes workbook? All we have is Windows Office… Sounds like a Lotus 123 (spreadsheet) file. I just checked and OpenOffice supports *.123 files. So, you can definitely use OpenOffice and import the .123 file and export it to a .xls file. Try using Excel first but if that fails, use OpenOffice. Check more discussion of this question. Bookmark on Delicious Digg [...]
Continue Reading »Symlinks for common files
I’m trying to consolidate some website files on one of our CenotOS servers, the setup i want to create is something like this but i’m not sure if its actually possible we would have a set of files used by all sites: /home/commonfiles/ public_html/ library/ each site directory would look something like this: /home/site1/bespoke/ css/ images/ each “site” would use the public_html and library folders from within the common files. Symlinks would obviously work for [...]
Continue Reading »linux file -i command outputs octet/stream for every media file
On Linux / Unix Command file: ” -i Causes the file command to output mime type strings rather than the more traditional human readable ones “ Why does it always output “application/octet-stream” for images and videos? How can I obtain the specific mime type of an image or a video with this command or with any other command? Thanks. Can you tell us what the output is with out the -i switch? Also, what is [...]
Continue Reading »Mysterious Word files!
I have a a simple file share server, which all my users use. After 3 years some has decided to tell IT that some strange files exist in the folder structure. They appear to be opened Word files but it seems highly unlikely that every file is open. It appears that all the files in question are word files of existing word files with ~$A-08_ at the start of the filename followed by an existing [...]
Continue Reading »Limiting size on transaction log file
I am running out of space on my C disk. How do I a) reduce the size of the current log b) put a limit on it so it won’t happen again. Thanks! EDIT: I have changed my backup mode from full to simple. I read that this should stop the growth. Now how do I backup the log file which was created when my db was in full mode? It’s important to appreciate that [...]
Continue Reading »NT Server: deleting files takes ages
i’m running an NT Server – when trying to delete eg. just one file – it takes several minutes (!!) until the file gets deleted. i’m only getting the deleting-dialog but nothing happens. any ideas what could be wrong? thx This can also be caused by a very full recycle bin, or deleting files from a directory that has way too many files, or a fragmented MFT (especially in NT4.0 NTFS). Check more discussion of [...]
Continue Reading »Incorrect file creation date in Windows XP/Vista
Check this out: Create a new file on your Windows machine. Note its creation date/time. Delete the file. Wait a little bit. Create a new file on the same directory, with the same name as the previous one. The creation date/time of the new file will be equal to that of the previous one! I have verified this on Windows XP SP3 and Windows Vista SP2 x64. I find it hard to believe that it’s [...]
Continue Reading »Disallowing access to certain file type in IIS6
I can do this just fine under Apache with htaccess / permissions. But at work its all M$ all the time… I need to lock off access to any .fla files that might come up. We keep them next to the few .swf we use on some of our sites, I just want to be sure they are not being served. Thanks! EDIT I should point out that I didn’t think I needed to mention [...]
Continue Reading »Linux file inaccessible and has “?” permission
I have a file that has some strange permissions on it: [root@host var]# ls -la total 248 drwxr-xr-x 32 root root 4096 Nov 24 07:59 . drwxr-xr-x 27 root root 4096 Nov 23 20:13 .. drwxr-xr-x 2 root root 4096 Jun 17 2008 account drwxr-xr-x 3 root root 4096 Jun 17 2008 antiword drwxr-xr-x 2 pcap pcap 4096 Jun 17 2008 arpwatch ?——— ? ? ? ? ? backup drwxr-xr-x 10 root root 4096 Jun [...]
Continue Reading »Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?



