I am currently working on several transformations starting from a CSV file (file1.csv).
Once the transformation is done, I export it to a new file (file2.csv).
>file2.csv
I would like to remove then the first file (file1.csv) with bash code.
How can I do?
I could not find related information over here.
Thanks.
>Solution :
I’m not sure, that i completely understand your question, because you should find plenty information about what you’re describing.
Just use:
rm /some-directory/file2.csv
or maybe it didnt work because you didn’t have permissions.. then use
sudo rm /some-directory/file2.csv
I hope it helps. Otherwise some clarification and an example on your problem would be good.