Magento - how to delete imported csv files - magento

Could you explain me where the csv files are stored allready imported and how can I delete the old ones? I guess this will not affect the datebase.
Many thanks!

You can delete them via ssh. They are located under the var/imports folder. From the root of your magneto folder execute rm var/imports/*.csv

Related

Odoo Managing Database Page

I am trying to remove the other html/xml elements for the page where you can restore or delete database. Does anyone know the location from the local files so i can edit the file?
C:\Program Files (x86)\Odoo 9.0-20161004\server\openerp\addons\web\views\database_manager.html
File path on local servers.

Why do I not have a .hgrc file?

I'm trying to insert the mercurial_keyring file with my username and password in the .hgrc file but it doesn't exist in my user directory on windows. I have tortoise hg installed and even checked if it was installed properly on the command prompt yet I still don't have the .hgrc folder.
Can anyone tell me what might be the reason to it?
Thanks
Because it's %USERPROFILE%\mercurial.ini
Mercurial reads configuration data from several files, if they exist.
These files do not exist by default and you will have to create the
appropriate configuration files yourself:
Local configuration is put into the per-repository /.hg/hgrc
file.
Global configuration like the username setting is typically put into:
%USERPROFILE%\mercurial.ini (on Windows)
The .hgrc files are not created automatically when you install Mercurial or TortoiseHg.
You will need to manually create it at the location you need whether that is within the repository's .hg folder or your own C:\Users\username\ folder.
You will probably need to use the command line to create the file as it's not usually possible to create filenames that start with . in Windows Explorer.
https://www.selenic.com/mercurial/hgrc.5.html

Update Magento extension using ssh to extract .tgz tar file

I am trying to update a module to a newer version. In the past I have manually uploaded each file carefully into the new directory and overwritten older files using FTP. However I wanted to use SSH to try and do this more easily and without any file permission problems.
I have:
Uploaded the .tgz file to the root folder (/http) on the server
Logged into the server via SSH
Changed the directory to the correct directory
Run the following command: tar -zxvf fishpig_splash.tgz
In the command line I was then given a list of all the files that had been extracted. However if I use FTP to go to any of these files I can see that they are still the older version and have not been overwritten.
I was expecting that the files would extract into the correct directories and overwrite any that already existed. I have tested the extraction by creating a temporary directory and extracting into that and everything worked fine.
Is there another part to this script I need to use to overwrite the files?
Thanks
Glynn
Sorry this was just me being stupid! When extracting the tar file there was a subfolder within it for the extension, I completely missed it. I just went down a level in the file and zipped up the contents only then extracted them at the root and everything worked fine. Thanks for the help though!

How to delete Magento Dataflow Import uploaded files?

I am having a terrible time trying to locate the files that are populating a select drop down in the "Import All Products" dataflow profile in Magento. Inside of the "Run Profile" tab there is a Select Dropdown that contains all of the files I have ever uploaded. I want to remove these as I have already uploaded about 15 .csv files.
I have tried searching in PHPMyAdmin for the file name. Also have tried sudo locate import-20140320221637-1_export_all_products.csv and sudo grep "import-20140320221637-1_export_all_products.csv" /var/www/ but I come up with empty results. Where are these being stored at?
Check in your magento_root/var/import folder. This is where usually all the import csv files are stored.

Sublime SFTP file upload issue

I am having directory issues when using sublime sftp to upload files. Currently am using ftp type, and the issue is this:
My local and remote folders match, but when I take a file from the local side that is say 3 directories deep and modify/upload, it's putting the file to the root folder and not the directory location.
Any ideas are appreciated.
NOt sure if this helps, but
Uploading "/Volumes/--/Dropbox/ItsJustFood/web/wp-content/themes/justfood/library/css/style.css" to "/library/css/style.css" ..... success
looks like it's only going two directories up when it should be going to the root?
Turns out you have to make sure the .json file is also in the root folder of your remote copy.

Resources