---
title: "Specify Working Directories for Agent Files"
canonical: "https://docs.perspectium.com/space/helium/2113870/Specify%20Working%20Directories%20for%20Agent%20Files"
format: markdown
---
By default the  conf ,  logs  and  perspectium_data  directories will be saved in the directory where the DataSync Agent is installed. However, you can specify a different “working directory” for these files/directories. The directories that can be moved to a different working directory contain the following files: conf  -  T he configuration directory holds the agent.xml and log4j2.xml configuration files logs  - The directory that holds the Agent's log files perspectium_data  - The directory that holds temporary data while the Agent runs.  By default, the  perspectium_data  directory is created in the  bin  directory. The  perspectium_data  directory is generated automatically when the Agent starts.   NOTE :  You will still need to keep a   conf   directory in the directory where the Agent is installed. However, in the new working directory that you specify you must also create a   conf   directory containing your   agent.xml   and   log4j2.xml   files.  The   perspectium_data   directory will be generated in the first level of the working directory alongside these two directories when the Agent starts. Prerequisites  First, you will need to set up one of the Perspectium  DataSync Agents .   You should also  stop running your DataSync Agent  before making any Agent configuration changes. Procedure (Windows) To specify working directories for the Agent in Windows, follow these steps: Procedure (Linux) To specify working directories for the Agent in Linux, follow these steps: