In Terminal I tried
to get rid of double rtf extensions ( which came about from some other process),
but this doesn't work.
I don't know why.
Remember two important things. First, that * does not get passed into programs, the shell handles that before mv even runs. Second, that mv works like
Imagine you have these three files in the folder:
...and then, mv gets run, with those exact arguments.
If it actually did what you asked, it would destroy most of them, leaving only one survivor named 'file3.rtf'. Fortunately it will refuse to rename multiple files, only move them.
Hi all
Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc.
Thanks
SS (1 Reply)
:D mount -t vfat /dev/hda1 /mnt
my dillemma is simple i have psion 5 mx wich is an epoc type machine not only does it only work on windows as far as I know but I have to convert the files (the usual stuff!) sometimes a humen error happens and the files that I want to transfer to the linux drive... (7 Replies)
Hi All
I want a method in shell script which will embed the exe file into rtf file si that the rtf file can be open in word and so my exe.
Actually what is happening in my system at present :
The report in my system is a self-extracting Zip file with filetype '.EXE'. Double clicking... (1 Reply)
Hi,
I have the root id and the uid is always 0 for the root. Can i create another user say admin with the uid as 0? If so will it have the same privilege as that of user.
Will there be any effect while doing this?
lorcan (6 Replies)
Hello all
i have server that needs to add the ability to convert rtf files to pdf
what you recommend me to use ( not open office please )
its spouse to process lots of files .
something i can wrap in code and use (2 Replies)
Hi,
i don't know anything about PERL. Can anyone help me providing PERL scripts for
1. converting XLS to CSV (and vice-versa)
2. converting DOC/RTF to TXT
Thanks much
Prvn (1 Reply)
HI,
I have some csv files with mutiple extensions, I want to remove all the extensions and keep only the .csv extension.
anybody can suggest me how to do this.
source files
1.txt.csv.txt.csv.csv.txt.csv
2.csv.txt.csv.txt.csv.txt
target
1.csv
2.csv
--Wang (1 Reply)
Hi folks!
I need you help to discover what's the impact of a duplicated UID in an operating system. What's the meaning when someone put in different users the same UID? (3 Replies)
Hi,
I am looking at writing the BLOB from database which is an rtf data to write to RTF file.
I am trying to use the RTFEditorKit for the same and was struck with the write API it provides.
write API takes the outstream and Document, all I have is Inputstream or bytestream from database -... (5 Replies)
Discussion started by: vijaykrc
5 Replies
LEARN ABOUT MOJAVE
pbpaste
PBCOPY(1) General Commands Manual PBCOPY(1)NAME
pbcopy, pbpaste - provide copying and pasting to the pasteboard (the Clipboard) from command line
SYNOPSIS
pbcopy [-help] [-pboard {general | ruler | find | font}]
pbpaste [-help] [-pboard {general | ruler | find | font}] [-Prefer {txt | rtf | ps}]
DESCRIPTION
pbcopy takes the standard input and places it in the specified pasteboard. If no pasteboard is specified, the general pasteboard will be
used by default. The input is placed in the pasteboard as plain text data unless it begins with the Encapsulated PostScript (EPS) file
header or the Rich Text Format (RTF) file header, in which case it is placed in the pasteboard as one of those data types.
pbpaste removes the data from the pasteboard and writes it to the standard output. It normally looks first for plain text data in the
pasteboard and writes that to the standard output; if no plain text data is in the pasteboard it looks for Encapsulated PostScript; if no
EPS is present it looks for Rich Text. If none of those types is present in the pasteboard, pbpaste produces no output.
* Encoding:
pbcopy and pbpaste use locale environment variables to determine the encoding to be used for input and output. For example, absent other
locale settings, setting the environment variable LANG=en_US.UTF-8 will cause pbcopy and pbpaste to use UTF-8 for input and output. If an
encoding cannot be determined from the locale, the standard C encoding will be used. Use of UTF-8 is recommended. Note that by default
the Terminal application uses the UTF-8 encoding and automatically sets the appropriate locale environment variable.
OPTIONS -pboard {general | ruler | find | font}
specifies which pasteboard to copy to or paste from. If no pasteboard is given, the general pasteboard will be used by default.
-Prefer {txt | rtf | ps}
tells pbpaste what type of data to look for in the pasteboard first. As stated above, pbpaste normally looks first for plain text
data; however, by specifying -Prefer ps you can tell pbpaste to look first for Encapsulated PostScript. If you specify -Prefer rtf,
pbpaste looks first for Rich Text format. In any case, pbpaste looks for the other formats if the preferred one is not found. The
txt option replaces the deprecated ascii option, which continues to function as before. Both indicate a preference for plain text.
SEE ALSO
ADC Reference Library:
Cocoa > Interapplication Communication > Copying and Pasting
Carbon > Interapplication Communication > Pasteboard Manager Programming Guide
Carbon > Interapplication Communication > Pasteboard Manager Reference
BUGS
There is no way to tell pbpaste to get only a specified data type.
Apple Computer, Inc. January 12, 2005 PBCOPY(1)