Questions tagged [tmp]

The traditional name of directories (especially on Unix and Unix-like operating systems) used to store temporary files. Also, the filename extension of temporary files.

317 questions
6
votes
1 answer

Is it possible to stop `Rscript` cleaning up its `tempdir`?

I'm using R, via Rscript and H2O, but H2O is crashing. I want to review the logs, but the R tempdir that contains them seem to be removed when the R session ends (i.e. when the Rscript finishes). Is it possible to tell R/Rscript not to remove the…
dommer
  • 19,610
  • 14
  • 75
  • 137
6
votes
1 answer

How do I create a temporary directory using mktemp in my current working directory?

I created a pipeline that strings multiple programs together, unfortunately these programs are creating a huge amount of temporary files in the /tmp folder and when using large datasets my pipeline crashes because the /tmp folder fills up. How do I…
System
  • 295
  • 1
  • 4
  • 13
6
votes
1 answer

Alamofire MultiPartForm files in NSTemporaryDirectory

I have not been able to find answer to my question anywhere so I figured I've ask. I am using Alamofire 3.1.5 for uploading rather large volume of pictures, we are talking in hundreds of MB. There is a code snippet: self.manager.upload(.POST,…
Tomas Sykora
  • 470
  • 1
  • 5
  • 15
6
votes
4 answers

Time complexity of finding duplicate files in bash

I had to write a Bash script to delete duplicate files today, using their md5 hashes. I stored those hashes as files in a temporary directory: for i in * ; do hash=$(md5sum /tmp/msg | cut -d " " -f1) ; if [ -f /tmp/hashes/$hash ] ; then …
Ted
  • 972
  • 2
  • 11
  • 20
5
votes
6 answers

PHP Can't find tmp directory

I am having problems with functions that create files in the tmp directory such as tmpfile() and tempnam(). They all seem to fail to write to tmp and return false. upload_tmp_dir is set in php ini and file uploads work fine. When debugging this…
DonutReply
  • 3,184
  • 6
  • 31
  • 34
5
votes
1 answer

How to run unrolled 'for' loop (tmp) in parallel using openmp in c++?

Code 1 shows the parallelization of 'for' loop using openmp. I would like to achieve similar parallelization after unrolling the 'for' loops using template metaprogramming (refer Code 2). Could you please help? Code 1: Outer for loop run in parallel…
coder
  • 123
  • 4
5
votes
4 answers

Rails3: Change location of temp (tmp) directory

I usually develop in my local Dropbox folder. Some files in the tmp-folder get locked by the browsers (and keep Dropbox busy), Growl throws exceptions and so on. Therefore I am looking for a configuration setting to put the tmp-folder outside the…
Markus Proske
  • 3,356
  • 3
  • 24
  • 32
5
votes
1 answer

CygWin tmp folder is taking too much disk space

I noticed that CYGWIN /tmp folder is taking too much disk space ( around 10 gb ). I have the program installed for about 2 years. I googled for a while and I didn't found any help in cleaning this folder. Does anyone knows how to do it? Thanks!
André Ramos
  • 91
  • 1
  • 7
5
votes
3 answers

Access tmp directory in iOS 8 with Xamarin.iOS

Does anyone know how to get the path to the tmp directory in iOS 8 with Xamarin?
testing
  • 19,681
  • 50
  • 236
  • 417
5
votes
1 answer

How do I automatically clean up my $JBOSS_HOME/standalone/tmp directory?

I’m using JBoss 7.1.3.Final on my dev machine, a Mac 10.9.1. I’m trying to get my /tmp/vfs directory to clean itself up (with a max caching time of a day), so I added this line to my $JBOSS_HOME/bin/standalone.conf file … JAVA_OPTS="$JAVA_OPTS…
Dave
  • 15,639
  • 133
  • 442
  • 830
5
votes
1 answer

Why posts to my apache/php/mysql site places "virus" files in the /tmp directory

I apologize for the large post for a first timer. I've not been able to find a reason for the /tmp/phpXXX files created on my server. It seems that some sites (BAD GUY IP in the data below) are sending posts to my site for a Joomla vulnerability…
5
votes
2 answers

Permissions on /tmp/cache/assets on RAIL app

I have a permissions problem. Using wickedpdf on my rails app to print, it produces tmp assets files into the dir /tmp/cache/assets. The files that it writes, like this one sprockets%2F2c9f9e326ac1c7cd3f07a1a3c9051874 have owner="nobody" and…
DARIODF
  • 51
  • 4
4
votes
1 answer

Enabling certain template parameters based on user provided template arguments

Consider the following class template: template class Foo { Where SomeEnum would be defined as class SomeEnum { NOT_DYNAMIC, DYNAMIC }; This class has a private std::array, but based on the…
4
votes
2 answers

MySQL 8.0.23 tmp table keeps filling up

I have not had this issue with older versions of MySQL including up to 8.0.21 which I run in production within AWS RDS. I have a query that gets run only once a year. Here is the relevant code: create table medicare_fee_history ( year int…
4
votes
7 answers

TMPro not found in Visual Studio Code

I'm using Visual Studio Code to write my code for Unity. The following extension I've added to Visual Studio Code: C#, Debugger for Unity, Unity Code Snippets & Unity Tools Using TMPro to work with TextMeshPro components throws me this error:…
Spoon
  • 173
  • 1
  • 2
  • 12
1 2
3
21 22