How to split file in windows just like linux [closed] - windows-7-x64

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
How can we split file in windows system in command prompt based on size. like linux system we use
"split -b 10M filename.xyz new_filename"

If you have "git bash" use the linux split, if don't have it, download it from: https://git-scm.com/
I hope it works for you

You can compress the required file to a zip (or rar) file, setting a maximum file size so that it gets split.
This means that you will always have the program to get the initial file back available.
Some options are:
HJSplit is a freeware and portable (size == 300 KB), and doesn't have to be installed.
There is an older, free command-line version of Goetz's File Splitter, it is best if you plan on running batch scripts to split many files.
7-Zip is another free open source program that allows you to split (with or without compression) and combine files, either via GUI (right click on the file > Split File... > choose size) or command line.
Total Commander does that as well (Files > Split File...).

Related

PDF to DOC using cmd [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
How do I convert a pdf file to doc?
I tried the following:
soffice.exe --convert-to doc C:\Users\Administrator\Desktop\pdfda.pdf
When I hit enter nothing happens, I have libreoffice installed and I'm using Windows 10.
For others landing here the support advice is use soffice NOT soffice.exe since that should on Windows invoke the console command line version soffice.com
see https://ask.libreoffice.org/t/convert-docx-to-pdf-via-the-commandline-on-windows-10/64418/6
Starting from v.6.3, you should not use soffice.exe when working in terminal. You better just omit the extension (like [invoke in folder >] soffice), or explicitly use soffice.com, to use a version specifically created for console, which would output the errors, if any, to the console, instead of silently discarding any output. Also note that you should make sure that LibreOffice is not running in the background when you are launching the command line, because otherwise your command would be redirected to the existing GUI process, and you may again not see the error messages.
Alternatively, specify a separate user profile when calling command line to allow separate processes - see -env command line parameter
Full documentation is at https://documentation.libreoffice.org/en/english-documentation/

Configure gvim swap, undo, and backup files on windows [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on windows 10 using chocolatey. When I edit a foo file in powershell, vim leaves behind .foo.un~ or .foo~ files. What are these and how do I stop vim from leaving them around?
These files are backup and undo files. vim also creates swap files if it crashes while editing.
From https://coderwall.com/p/sdhfug/vim-swap-backup-and-undo-files
In powershell, create the following directories:
~/.vim
~/.vim/.undo
~/.vim/.backup
~/.vim/.swp
Edit your .vimrc file by opening vim and typing:
:edit $MYVIMRC
Then, add the following lines, and save:
set undodir=~/.vim/.undo//
set backupdir=~/.vim/.backup//
set directory=~/.vim/.swp//
vim will now put your undo, backup, and swap files in the ~/.vim/.undo, ~/.vim/.backup, and ~/.vim/.swp directories, respectively.

gvim 8.2 doesn't paste on windows 10 in powershell [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I installed vim on Windows 10 with chocolatey. Copy and Paste don't work when I invoke vim in powershell. I expect them to work as long as I'm in insert mode. How can I make copy and paste work?
https://n3wjack.net/2014/08/25/setting-up-vim-on-windows/ has the answers.
Open vim and type the following:
:edit $MYVIMRC
This will edit your .vimrc file wherever it might live. (On my system, it was in c:\Users\<my_username>\.vimrc, but you might have weird configuration issues, so just let vim find the file for you.
Then, copy+paste the following into the file:
source $VIMRUNTIME/mswin.vim
behave mswin
Then save the file.

Viewing Two (or Multiple folders) in MATLAB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Is it possible to have two "Current Folder" windows open in MATLAB?
I have two folders a long way away from one another in the folder tree and need to keep files in the same place as the are referred to by other software.
I should add that I am in the process of importing specific files from each one and cannot do all of one folder at once.
Short answer: no. You need to use commands like cd to change from one folder to another for importing files, or add both folders to your MATLAB path using addpath. The latter has the advantage of referring to any file in these folders without having to specify in which folder they are located.

How to enable parallel PDF export in emacs org-mode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Recently I start to write a long article using org-mode. My article contains pounds of images, tables and code. So when I import my org file to pdf, the emacs will freeze for more than one minute to produce the pdf file. However in my opinion, I would like to continue to write or correct my article during the exporting.
So here is the question, can emacs parallelly process the exports with multiple thread or multiple processors?
Of course you can, it's emacs!
(info "(org) The export dispatcher")
‘C-a’
Toggle asynchronous export. Asynchronous export uses an external
Emacs process that is configured with a specified initialization
file.
While exporting asynchronously, the output is not displayed. It is
stored in a list called “the export stack”, and can be viewed from
there. The stack can be reached by calling the dispatcher with a
double ‘C-u’ prefix argument, or with ‘&’ key from the dispatcher.
To make this behavior the default, customize the variable
‘org-export-in-background’.
So, you can export asynchronously to PDF like this: C-eC-alp.