I am writing a program to display a database to the screen(xterm) and want to allow the window resize signal to increase/decrease the amount data that is displayed. I have a signal handler function for catching the SIGWINCH event and calling a function to reallocate the space for the windows... (0 Replies)
find . -type f -name "*.sql" -print|xargs perl -i -pe 's/pattern/replaced/g'
this is simple logic to find and replace in multiple files & folders
Hope this helps.
Thanks
Zaheer (0 Replies)
Hi,
I"m trying to achieve the following:
I have a NAS which holds all my pictures, and have it mounted on my xbmc as a network share. I want to automatically synchronize my pictures (NAS -> xbmc, one direction).
But, during the synchronization I want to resize the pictures to make them... (7 Replies)
Hi,
I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the directory_name)would be fine. and then move them to one main backup directory once they have been... (1 Reply)
Is there a script or extension that I can look into that will re-size an allotment of images to a given size?? Id like to take images of a certain size and resize them but Im dont remember an install option that can do it if installed in ubuntu but I, also unsure in what code I will have to learn.... (2 Replies)
Hi & good day,
How to use find correctly ?
I have several folders, _img1, _img2 etc.
Then I want to use the find command to find part of an image name, such as:
the string ”modern”
which is (at least) in:
”_img2/modern_world2PS220.jpg”
Also I want to know _in which folder_ it... (10 Replies)
Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies
LEARN ABOUT DEBIAN
ns_guesstype
ns_guesstype(3aolserver) AOLserver Built-In Commands ns_guesstype(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_guesstype - commands
SYNOPSIS
ns_guesstype filename
_________________________________________________________________DESCRIPTION
This command guesses and returns the MIME type of filename, based on the file extention. It has an extensive set of default mappings. You
can also add your own mappings in the "ns/server/servername/mimetype" section of the config file.
MIMETYPES
The following extentions and mimetypes are the default maps.
.adp text/html
.ai application/postscript
.aif audio/aiff
.aifc audio/aiff
.aiff audio/aiff
.ani application/x-navi-animation
.art image/x-art
.au audio/basic
.avi video/x-msvideo
.bin application/x-macbinary
.bmp image/bmp
.css text/css
.csv application/csv
.dci text/html
.dcr application/x-director
.dir application/x-director
.dp application/commonground
.dxr application/x-director
.elm text/plain
.eml text/plain
.exe application/octet-stream
.gbt text/plain
.gif image/gif
.gz application/x-compressed
.hqx application/mac-binhex40
.htm text/html
.html text/html
.jfif image/jpeg
.jpe image/jpeg
.jpg image/jpeg
.jpeg image/jpeg
.js application/x-javascript
.ls application/x-javascript
.map application/x-navimap
.mid audio/x-midi
.midi audio/x-midi
.mocha application/x-javascript
.mov video/quicktime
.mpe video/mpeg
.mpeg video/mpeg
.mpg video/mpeg
.nvd application/x-navidoc
.nvm application/x-navimap
.pbm image/x-portable-bitmap
.pdf application/pdf
.pgm image/x-portable-graymap
.pic image/pict
.pict image/pict
.pnm image/x-portable-anymap
.png image/png
.ps application/postscript
.qt video/quicktime
.ra audio/x-pn-realaudio
.ram audio/x-pn-realaudio
.ras image/x-cmu-raster
.rgb image/x-rgb
.rtf application/rtf
.sht text/html
.shtml text/html
.sit application/x-stuffit
.snd audio/basic
.sql application/x-sql
.stl application/x-navistyle
.tar application/x-tar
.tcl text/plain
.text text/plain
.tgz application/x-compressed
.tif image/tiff
.tiff image/tiff
.txt text/plain
.xbm image/x-xbitmap
.xpm image/x-xpixmap
.vrml x-world/x-vrml
.wav audio/x-wav
.wrl x-world/x-vrml
.z application/x-compressed
.zip application/x-zip-compressed
SEE ALSO nsd(1), info(n), ns_return(n)
KEYWORDS
mime
AOLserver 4.0 ns_guesstype(3aolserver)